Day 23 of 100 day of code
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...
pranavsharma.hashnode.dev1 min read