great and clear explanation sir!!Thank you so much sir Not only this sir,each and every video was awesome and easily understandable
@kumarisuruchisuman8919
2 жыл бұрын
No one can explain like you ☺
@C__janhaviKadam
Ай бұрын
crisp and clear ! thankss
@pradeeps9633
2 жыл бұрын
bro you're just amazing👌👌.we want this type of teaching.
@CostaKazistov
2 жыл бұрын
Really clear explanation. Definitely helped to understand this interesting HackerRank problem and the optimal solution. Many thanks!!
@georgethesavant5735
3 жыл бұрын
10 out of 10 explanation 🌼️, tysm!
@MrMclit
3 жыл бұрын
Great explanations, thank you
@pratyakshamaheshwari8269
3 жыл бұрын
Thank you Sir, you taught it very well.
@vaitheeswaranr2115
4 ай бұрын
StringLeftLength=n%strLength; Will be helpful?
@TheAxelgr
Жыл бұрын
I love you man!
@prativa810
Жыл бұрын
why is the time complexity O(1)? You have run the two loops in the code
@rohitsaka
3 жыл бұрын
Can you Please make it on Stock Span Problem
@nikoo28
3 жыл бұрын
Reach out to me on my email in channel description with the problem link.
@niharikamurulidhara7017
3 жыл бұрын
Sir....I tried the below code.. #include #include using namespace std; int main() { long long int n,count=0; int length,i; string sub_str; getline(cin,sub_str); cin>>n; length = sub_str.length(); if(length==1) { if(sub_str[i]=='a') { count=n; } else { count=0; } } // finding number of a's in substring else if(length>1) { for(i=0;i
@nikoo28
3 жыл бұрын
Try looking at the test cases I have in my code and debug your code with those cases. Maybe you can catch the problem
@_JAGATHEESANV
Жыл бұрын
Why can't we use this stringLeftLength=n%strLength;
@nikoo28
11 ай бұрын
you can
@_httpantwon
Жыл бұрын
It still wasn't clear
@nikoo28
Жыл бұрын
Which part did you face a problem at? I can try to elaborate
@k16e
Жыл бұрын
Shouldn't you `Math.floor(n / sLength)` the number of reps?
Пікірлер: 20