Learn By Heart
Learn By Heart
  • 13
  • 31 490
C++ code to Riddikulus Once Again (HackerEarth Problem) in Hindi || Competitive Coding
Hello everyone,
In this video, the problem statement, algorithm and code is explained in a very detailed, easy and effective manner. Watch this video for a great learning experience...
Links to the previous videos:
Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html
Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html
Conditional List: th-cam.com/video/UtSs3apBWyg/w-d-xo.html
Count Primes: th-cam.com/video/QnSzVC0rgHY/w-d-xo.html
Happy Numbers: th-cam.com/video/G89TOUHjbgQ/w-d-xo.html
FOR Loop in C: th-cam.com/video/OvmK4E11yTc/w-d-xo.html
Sum of Digits of a Five Digit Number: th-cam.com/video/pCNYCNbniwM/w-d-xo.html
Bitiwise Operators: th-cam.com/video/7W1zPaRLpX8/w-d-xo.html
Printing Pattern: th-cam.com/video/5jD87o36Wvc/w-d-xo.html
Birthday Candles: th-cam.com/video/LlPw2JIYOEA/w-d-xo.html
Neutralisation of charges: th-cam.com/video/IONxe4PAhpg/w-d-xo.html
Help Jarvis: th-cam.com/video/DtHqNtaE3WU/w-d-xo.html
มุมมอง: 595

วีดีโอ

C++ code to Help Jarvis (HackerEarth Problem) in Hindi || Competitive Coding
มุมมอง 2453 ปีที่แล้ว
Hello everyone, In this video, the problem statement, algorithm and code is explained in a very detailed, easy and effective manner. Watch this video for a great learning experience... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html Conditional List: th-cam.com/video/UtSs3apBWyg/w-d-xo.html ...
C++ code for Neutralisation of Charges (HackerEarth Problem) in Hindi || Competitive Coding
มุมมอง 3293 ปีที่แล้ว
Hello everyone, In this video, the problem statement, algorithm and code is explained in a very easy and effective manner. In the solution, the concept of stack is used which is explained in detail. Please watch this video for a great learning experience... Link to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA...
C++ Code for Birthday Candles (HackerRank Problem) in Hindi || Competitive Coding
มุมมอง 3193 ปีที่แล้ว
Hello everyone, In this video the problem statement, algorithm and code have been explained in detail. The reason of using vectors, their inbuilt functions used are also explained in detail. Please watch this video for a great learning experience... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo...
C Code to Print Pattern of Numbers (HackerRank Problem) || Competitive Coding
มุมมอง 15K3 ปีที่แล้ว
Hello everyone, In this video, the shown pattern printing is explained in a very easy and effective manner. Please watch the video for a great learning experience... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html Conditional List: th-cam.com/video/UtSs3apBWyg/w-d-xo.html Count Primes: th-ca...
C Code for BITWISE Operators (HackerRank Problem) in Hindi || Competitive Coding
มุมมอง 1.4K3 ปีที่แล้ว
Hello everyone, In this video, detailed explanation to Bitwise Operators and the task in hand is explained in a very easy and effective manner.Watch this video to have a great learning experience... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html Conditional List: th-cam.com/video/UtSs3apBWy...
Code for Sum of digits of a FIVE digit no (HackerRank Problem) in Hindi } || Competitive Coding
มุมมอง 3513 ปีที่แล้ว
Hello everyone, In this video, the solution to find the sum of digits of a five digit number is explained in a very easy and effective manner. Please watch this video for a great learning experience .... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html Conditional List: th-cam.com/video/UtSs3...
C Code to FOR LOOP in C (HackerRank Problem) in Hindi || Competitive Coding
มุมมอง 4493 ปีที่แล้ว
Hello everyone, In this video, the for loop and the task in hand is explained in a very easy and effective manner. Please watch this video for a great learning experience... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html Conditional List: th-cam.com/video/UtSs3apBWyg/w-d-xo.html Count Prime...
C++ Code to Check for HAPPY NUMBERS (LeetCode Problem #202 ) in Hindi || Competitive Coding
มุมมอง 2.7K3 ปีที่แล้ว
Hello everyone, In this video, the solution to check whether a number is happy or not is explained in a very easy and effective manner. Please watch this video for a great learning experience.... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Longest_Common_Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html Conditional List: th-cam.com/video/UtSs3apBWyg/w...
C++ Code to Count Primes (LeetCode Problem #204) in Hindi || Competitive Coding
มุมมอง 1.3K3 ปีที่แล้ว
Hello everyone, In this video, the solution to the problem to count number of primes less than a given number n is explained in a very detailed (like why we use the prime number condition checking till the square root of the number only) , easy and effective manner. Please watch this video for a great learning experience.... Links to the previous videos: Roman_to_Integer: th-cam.com/video/IJur3...
C++ Code of Conditional List (HackerEarth Problem) in Hindi || Competitive Coding
มุมมอง 2853 ปีที่แล้ว
Hello everyone, In this video, the conditional list problem is explained in a very easy and effective manner. Please watch it for a great learning experience.. Link to Convert Roman to Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html Link to find the Longest Common Prefix: th-cam.com/video/vdDFCpMX0XA/w-d-xo.html
C++ Code to Find the Longest Common Prefix (LeetCode Problem #14 ) in Hindi || Competitive Coding
มุมมอง 4.7K3 ปีที่แล้ว
Hello everyone , The problem statement, algorithm and detailed line by line code explanation is given here for the mentioned problem. Please watch it for a great learning experience... Link to my previous video on C code to convert Roman Numeral to Integer: th-cam.com/video/IJur34lN85k/w-d-xo.html
C++ Code to Convert Roman to Integer (Leet Code Problem #13 ) in Hindi || Competitive Coding
มุมมอง 3.7K3 ปีที่แล้ว
The problem statement, algorithm and code are explained in a very easy and effective manner in Hindi. Please watch this video fora great learning experience...

ความคิดเห็น

  • @Chirag12390
    @Chirag12390 6 หลายเดือนก่อน

    Big fan ❤️❤️

  • @adityaindian
    @adityaindian 7 หลายเดือนก่อน

    Thankyou Ma'am 😃

  • @abhishekbhardwaj7764
    @abhishekbhardwaj7764 9 หลายเดือนก่อน

    This is probably the best explanatiion of this pattern on internet now

  • @jayshreesalvi3034
    @jayshreesalvi3034 9 หลายเดือนก่อน

    Thanks so much for super clean explanation!

  • @njoyachouofo5405
    @njoyachouofo5405 9 หลายเดือนก่อน

    You are the best

  • @Pratham_Rathod._
    @Pratham_Rathod._ 10 หลายเดือนก่อน

    sooo helpful !! was stuck on this question for a while...

  • @AryanVerma-e8x
    @AryanVerma-e8x 11 หลายเดือนก่อน

    well explained

  • @KARTHIKEYANP-b9y
    @KARTHIKEYANP-b9y 11 หลายเดือนก่อน

    Really it's a good explanation ,thank you mam !...

  • @sharanxxxx
    @sharanxxxx ปีที่แล้ว

    -Thank you so much for the great explanation

  • @themysticalman9390
    @themysticalman9390 ปีที่แล้ว

    good work , your explanation was thorough and detailed , just one feedback it would have been great if you used map or some stl container also if you could shift to better IDEs or online platforms to solve these problems (eg vs code or sublime text) , thank you

  • @eraniket
    @eraniket ปีที่แล้ว

    2 on power n not x 2*n-1

  • @_SAURABHKUMAR-uv7xm
    @_SAURABHKUMAR-uv7xm ปีที่แล้ว

    Thank you ma'am

  • @abhishektiwari7643
    @abhishektiwari7643 ปีที่แล้ว

    Instead of storing the values inside the array and then printing.A better approach could be to directly print the value of n

    • @Pratham_Rathod._
      @Pratham_Rathod._ 10 หลายเดือนก่อน

      but it couldn't be done directly...

  • @mayurwakhare-l2j
    @mayurwakhare-l2j ปีที่แล้ว

    else if(s[i] == ' v' && i ! =0 && s[i-1] == ' I' ) result+=3; result += 4; chaiye tha naa mam

  • @adilakshmi-fe8zp
    @adilakshmi-fe8zp ปีที่แล้ว

    Best of all explanations of this question

  • @rohit_ojha
    @rohit_ojha ปีที่แล้ว

    Thanks ma'am :)

  • @smiteshp2001
    @smiteshp2001 ปีที่แล้ว

    Thank you so much mam.

  • @b8mayanknirmalkar432
    @b8mayanknirmalkar432 ปีที่แล้ว

    thank you so much

  • @nehasingh6021
    @nehasingh6021 ปีที่แล้ว

    very helpful explanation and code. Thanks ma'am.

  • @meditationstudios
    @meditationstudios ปีที่แล้ว

    class Solution { public: int countPrimes(int n) { bool* isprime = new bool[n]; for (int i = 2; i < n; i++) { isprime[i] = true; } for (int i = 2; i * i < n; i++) { if (!isprime[i]) continue; for (int j = i * i; j < n; j += i) { isprime[j] = false; } } int count = 0; for (int i = 2; i < n; i++) { if (isprime[i]) count++; } return count; } };

  • @satyamjaiswal577
    @satyamjaiswal577 ปีที่แล้ว

    Excellent mam

  • @raunakagarwal8284
    @raunakagarwal8284 ปีที่แล้ว

    Thank you mam for providing the most simplest solution.

  • @ompandit4523
    @ompandit4523 ปีที่แล้ว

    thnxx mam

  • @RajkumarVerma-fu6rh
    @RajkumarVerma-fu6rh ปีที่แล้ว

  • @shashankshekharshukla5743
    @shashankshekharshukla5743 ปีที่แล้ว

    Waheguru tenu Chad di kala

  • @saiakshagn3553
    @saiakshagn3553 2 ปีที่แล้ว

    Good Explanation Mam.

  • @bhuvaneshsampath9679
    @bhuvaneshsampath9679 2 ปีที่แล้ว

    English plzz

  • @ankurrai19
    @ankurrai19 2 ปีที่แล้ว

    Best explanation for this question on TH-cam. No one has explained this question like you. Mam please upload some videos on java too.

  • @motivation2change754
    @motivation2change754 2 ปีที่แล้ว

    It was Absolutely amazing

  • @anandkumarsingh593
    @anandkumarsingh593 2 ปีที่แล้ว

    I have seen 3 or 4 solution but this one best solution 👍👍❤

  • @omkarpachore792
    @omkarpachore792 2 ปีที่แล้ว

    Pattern printing mein array use karke kya faida, without array chahiye

  • @iamnottech8918
    @iamnottech8918 2 ปีที่แล้ว

    I was thinking this way only ,the thing I was missing is to make two variables to iterate the loop thanku..

  • @ashishthakur8909
    @ashishthakur8909 2 ปีที่แล้ว

    I can't express the way you explain the solution . You makes each complicated question an easy one. I really want to continue this series. And again a lot of thanks to you didi...

  • @ashishthakur8909
    @ashishthakur8909 2 ปีที่แล้ว

    nice explaination di 🤗🤗 really able to grab the concept in a single attempt.

  • @shivrajsingh9310
    @shivrajsingh9310 2 ปีที่แล้ว

    Great explaination and your voice is amazing

  • @alipinjari57
    @alipinjari57 2 ปีที่แล้ว

    Thanks for helping in written method it was very good way understand the logic behind the program

  • @HimanshuSingh-mt4tg
    @HimanshuSingh-mt4tg 2 ปีที่แล้ว

    Thankyou ma'am

  • @Dheerajpathak_9
    @Dheerajpathak_9 2 ปีที่แล้ว

    code is not working

  • @hariomarya8170
    @hariomarya8170 2 ปีที่แล้ว

    Mam,,, Please upload videos about more topics of competative programming. Really We need these because your way of explanation is best...

  • @Knowalittle140
    @Knowalittle140 2 ปีที่แล้ว

    Can anybody tell me why we are not using printf function inside the while loop itself?

  • @igaming_
    @igaming_ 2 ปีที่แล้ว

    Ma'am is this the most optimized solution

  • @JoyDas-ph6qx
    @JoyDas-ph6qx 2 ปีที่แล้ว

    Thank you man...

  • @khedikar41
    @khedikar41 2 ปีที่แล้ว

    that's it what am searching for.

  • @unfriended_Engineer
    @unfriended_Engineer 2 ปีที่แล้ว

    thanks

  • @letscrackit9253
    @letscrackit9253 2 ปีที่แล้ว

    Awesome mam

  • @brilltwoant27
    @brilltwoant27 2 ปีที่แล้ว

    Ma'am, it shows runtime error in Leetcode

  • @AshishKumar-jj5tv
    @AshishKumar-jj5tv 2 ปีที่แล้ว

    One of my favourite teacher from college days 🙏🏻❤️

  • @mowleeshmurugan6440
    @mowleeshmurugan6440 2 ปีที่แล้ว

    Alternative Solution without using 2D arrays /*C programing*/ #include <stdio.h> #include <string.h> #include <math.h> #include <stdlib.h> int min(int a,int b) { if(a<b) return a; else return b; } int main() { int n,m; scanf("%d", &n); for(int i=0;i<n;i++){ for(int j=0;j<n;j++) { m = min(i,j); printf("%d ",n-m); } for(int j=n-2;j>=0;j--) { m = min(i,j); printf("%d ",n-m); } printf(" "); } for(int i=n-2;i>=0;i--){ for(int j=0;j<n;j++) { m = min(i,j); printf("%d ",n-m); } for(int j=n-2;j>=0;j--) { m = min(i,j); printf("%d ",n-m); } printf(" "); } return 0; } /*C ++ programing*/ #include "bits/stdc++.h" using namespace std; int main() { int n; cin>>n; for(int i=0;i<n;i++) { for(int j=0;j<n;j++) cout<<n-min(i,j)<<" "; for(int j=n-2;j>=0;j--) cout<<n-min(i,j)<<" "; cout<<endl; } for(int i=n-2;i>=0;i--) { for(int j=0;j<n;j++) cout<<n-min(i,j)<<" "; for(int j=n-2;j>=0;j--) cout<<n-min(i,j)<<" "; cout<<endl; } return 0; }

  • @lucidcoding1447
    @lucidcoding1447 2 ปีที่แล้ว

    nicely explained :-) thank you so much ma'am

  • @harshvardhansingh2341
    @harshvardhansingh2341 2 ปีที่แล้ว

    One of the best video on you tube for this question 💯