Skip to main content

Command Palette

Search for a command to run...

Day 23 of 100 day of code

Published
โ€ข1 min read
P

Passionate Tech Enthusiast | Embracing the Power of DSA, Python Libraries, and Innovative Projects ๐Ÿš€๐Ÿ”ฌ

Welcome to my profile! ๐Ÿ‘‹ As a tech enthusiast, I'm constantly fueled by curiosity and a thirst for knowledge. I thrive on exploring the ever-evolving landscape of new technologies and pushing the boundaries of what's possible.

๐Ÿ‘จโ€๐Ÿ’ป My Expertise:

๐Ÿ’ก DSA in C++: Currently diving deep into the world of Data Structures and Algorithms in C++. Strengthening my problem-solving skills and optimizing code efficiency are my top priorities.

๐Ÿ Python Libraries: I'm well-versed in utilizing various Python libraries like OpenCV, NumPy, and Pandas to develop innovative solutions. Leveraging the power of these libraries, I'm shaping ideas into reality.

๐ŸŽฎ Projects: I've had the pleasure of working on exciting projects, including building a Brick Breaker game using Java frameworks, crafting unique Android apps, and even developing a hand recognition model using Python and OpenCV.

๐ŸŒŸ My Approach:

I believe in continuous learning and hands-on experience. By embracing real-world challenges and experimenting with cutting-edge technologies, I'm constantly expanding my skill set and nurturing my passion for technology.

๐Ÿ“š Lifelong Learner:

I'm always on the lookout for opportunities to enhance my knowledge and keep up with the rapid pace of the tech industry. Staying updated with the latest trends and breakthroughs enables me to stay ahead of the curve.

๐Ÿค Let's Connect:

I'm eager to connect with fellow tech enthusiasts, industry professionals, and like-minded individuals who share my love for technology. Let's collaborate, exchange ideas, and inspire each other to reach new heights!

โœ‰๏ธ Feel free to reach out to me for exciting discussions, project collaborations, or any tech-related queries. Together, we can create something remarkable and make a positive impact in the world of technology.

#TechEnthusiast #DataStructures #Algorithms #Python #OpenCV #NumPy #Pandas #ProjectDevelopment #LifelongLearner

Today I solved a question on CodeChef

question

#include <bits/stdc++.h>
using namespace std;

int solve(string s){
  int n = s.size();
  int cnt =0;
  for(int i =0;i<n-1;i++){
      if(s[i]=='<'&& s[i+1]=='>'){
        cnt++;
      }
  }
  return cnt;
}

int main(){
  int t;
  cin>>t;
  while(t--){
    string s;
    cin>>s;
    int ans = solve(s);
    cout<<ans<<endl;
  }
}