Aditya Rajiv
Aditya Rajiv
  • 323
  • 995 432
Count of Smaller Numbers After Self | Gfg gift in description | Merge sort thought process explained
To avail discount on all courses on geeks for geeks you can use the code ADIRAJ10 to get 10%off.
Link to the courses: practice.geeksforgeeks.org/courses
offer available for lifetime!
________________________________________________________________________
Best book for DSA revision before interviews:
amzn.to/3sLMBzU
________________________________________________________________________
solution to problem:
ideone.com/PSnL6q
problem link:
leetcode.com/problems/count-of-smaller-numbers-after-self/
________________________________________________________________________
All my playlists:
DSA sheet:
th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html
Interview experiences:
th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html
Leetcode problems:
th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamSTwoqu5gu.html
projects for resume:
th-cam.com/play/PLlGpFGXC9XnZjb-9hgo_9uSN16s4HTcgN.html
___________________________________________________________________________
Connect with me on LinkedIn:
www.linkedin.com/in/aditya-rajiv-0606491a5/
Connect with me on Instagram:
adi_rajiv
#gfg #leetcode #mergesort #cp #coding #stl #gfg #faang #maang #algorithms #datastructure
มุมมอง: 2 340

วีดีโอ

Matchsticks to square | LeetCode | Simple solution | Backtracking | Bitmask
มุมมอง 1.6K2 ปีที่แล้ว
To avail discount on all courses on geeks for geeks you can use the code ADIRAJ10 to get 10%off. Link to the courses: practice.geeksforgeeks.org/courses offer available for lifetime! Best book for DSA revision before interviews: amzn.to/3sLMBzU solution to problem: ideone.com/pzUkvH problem link: leetcode.com/problems/matchsticks-to-square/ All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC...
LeetCode BiWeekly contest 80 | Count Subarrays With Score Less Than K | Check description
มุมมอง 2.8K2 ปีที่แล้ว
count subarrays with sum less than k : www.geeksforgeeks.org/number-subarrays-sum-less-k/ Best book for DSA revision before interviews: amzn.to/3sLMBzU solution to problem: ideone.com/fdcHat problem link: leetcode.com/contest/biweekly-contest-80/problems/count-subarrays-with-score-less-than-k/ All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experie...
How can you prepare for Amazon | Most asked question | Personal opinion | SDE
มุมมอง 2.3K2 ปีที่แล้ว
Coding Ninjas scholarship test link: www.codingninjas.com/landing/scholarship-test/ Use the code ADIMAGINZ to avail a 50% discount on registration fees bit.ly/3LEnPbl Best book to revise all DSA concepts before interviews: Cracking the coding interview: amzn.to/3yMXmFW Quantitative aptitude: amzn.to/38AwIFK Connect with me on LinkedIn: www.linkedin.com/in/aditya-rajiv-0606491a5/ If you like my ...
LeetCode Weekly contest 291 | Total Appeal of A String (Hard)
มุมมอง 5K2 ปีที่แล้ว
Best book for DSA revision before interviews: amzn.to/3sLMBzU How can you prepare for amazon: th-cam.com/video/nPZ6dspG5kE/w-d-xo.html solution to problem: ideone.com/WsDA7h problem link: leetcode.com/contest/weekly-contest-291/problems/total-appeal-of-a-string/ All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9...
LeetCode BiWeekly contest 77 | Count Unguarded Cells in the Grid
มุมมอง 2.1K2 ปีที่แล้ว
Best book for DSA revision before interviews: amzn.to/3sLMBzU solution to problem: ideone.com/dY4wSb problem link: leetcode.com/problems/count-unguarded-cells-in-the-grid/ All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html Leetcode problems: th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamS...
I got an Internship offer from Red Hat | My OFF campus experience | Software Engineering Intern
มุมมอง 2.9K2 ปีที่แล้ว
Best book for DSA revision before interviews: amzn.to/3sLMBzU Connect with me on LinkedIn: www.linkedin.com/in/aditya-rajiv-0606491a5/ If you like my problem solving skills, please do give me an endorsement in my skills sections on LinkedIn. All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0a...
Removing Minimum and Maximum From Array | LeetCode Weekly contest 269 | DSA
มุมมอง 3.2K2 ปีที่แล้ว
problem link: leetcode.com/contest/weekly-contest-269/problems/removing-minimum-and-maximum-from-array/ solution: ideone.com/02310u All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html Leetcode problems: th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamSTwoqu5gu.html projects for resume: th-ca...
K Radius Subarray Averages | LeetCode Weekly contest 269 | DSA
มุมมอง 2.2K2 ปีที่แล้ว
problem link: leetcode.com/contest/weekly-contest-269/problems/k-radius-subarray-averages/ solution: ideone.com/OHqsfG All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html Leetcode problems: th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamSTwoqu5gu.html projects for resume: th-cam.com/play/PL...
Range Frequency Queries | LeetCode Weekly contest 268 | Most popular concept in CP
มุมมอง 1.7K2 ปีที่แล้ว
problem link: leetcode.com/contest/weekly-contest-268/problems/range-frequency-queries/ solution: ideone.com/9jTvv1 All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html Leetcode problems: th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamSTwoqu5gu.html projects for resume: th-cam.com/play/PLlGp...
Vowels of All Substrings | LeetCode Weekly contest 266 | DSA
มุมมอง 5K2 ปีที่แล้ว
problem link: leetcode.com/contest/weekly-contest-266/problems/vowels-of-all-substrings/ solution: ideone.com/I1y5oB All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html Leetcode problems: th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamSTwoqu5gu.html projects for resume: th-cam.com/play/PLlG...
Count Number of Maximum Bitwise-OR Subsets | LeetCode Weekly contest 263 | DSA
มุมมอง 2.7K2 ปีที่แล้ว
problem link: leetcode.com/contest/weekly-contest-263/problems/count-number-of-maximum-bitwise-or-subsets/ solution: ideone.com/ToRfgK All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsWPG7a0adQy.html Leetcode problems: th-cam.com/play/PLlGpFGXC9Xna36CAIr5x3VamSTwoqu5gu.html projects for resume: th...
Topological sort | Graphs | Queue | Simple Implementation | Love Babbar DSA sheet
มุมมอง 1.4K3 ปีที่แล้ว
Please subscribe to newton school channel where i am an educator. studio.th-cam.com/channels/nc3T8avaMrNheZIZmL5WBQ.html problem link: practice.geeksforgeeks.org/problems/topological-sort/1 solution: practice.geeksforgeeks.org/viewSol.php?subId=4b1f095b25a9bd4143c672f3757dbd85&pid=700255&user=adimantheboss123 All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html I...
M-Coloring Problem | Graphs | backtracking | simple solution | Love Babbar DSA sheet.
มุมมอง 3.1K3 ปีที่แล้ว
Please subscribe to newton school channel where i am an educator. studio.th-cam.com/channels/nc3T8avaMrNheZIZmL5WBQ.html problem link: practice.geeksforgeeks.org/problems/m-coloring-problem-1587115620/1# solution: practice.geeksforgeeks.org/viewSol.php?subId=81236259c65bfa91bc033c0a36c54c47&pid=701374&user=adimantheboss123 All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6...
Maximize the Confusion of an Exam | LeetCode Biweekly contest 62 | Did we do this before?
มุมมอง 5K3 ปีที่แล้ว
Please subscribe to newton school channel where i am an educator. studio.th-cam.com/channels/nc3T8avaMrNheZIZmL5WBQ.html problem link: leetcode.com/contest/biweekly-contest-62/problems/maximize-the-confusion-of-an-exam/ solution: ideone.com/zAbt39 All my playlists: DSA sheet: th-cam.com/play/PLlGpFGXC9XnYOMturcfblGyym6wPGGvKF.html Interview experiences: th-cam.com/play/PLlGpFGXC9XnbIG5jkAzV2IsW...
Split Linked List in Parts | LeetCode | Linked List | Detailed solution |Data structures |Algorithms
มุมมอง 7K3 ปีที่แล้ว
Split Linked List in Parts | LeetCode | Linked List | Detailed solution |Data structures |Algorithms
Frequency of the Most Frequent Element | LeetCode | Binary search | Sliding window | Prefix sum |DSA
มุมมอง 17K3 ปีที่แล้ว
Frequency of the Most Frequent Element | LeetCode | Binary search | Sliding window | Prefix sum |DSA
Remove invalid parentheses | Hard Backtracking | Stacks | Optimization| Love Babbar DSA sheet |FAANG
มุมมอง 6K3 ปีที่แล้ว
Remove invalid parentheses | Hard Backtracking | Stacks | Optimization| Love Babbar DSA sheet |FAANG
Real life applications of Data structures and Algorithms | Why do you study DSA? | problem solving
มุมมอง 8K3 ปีที่แล้ว
Real life applications of Data structures and Algorithms | Why do you study DSA? | problem solving
Tug of war | Backtracking | Bitmasks | Love Babbar DSA sheet | LeetCode September challenge
มุมมอง 3.6K3 ปีที่แล้ว
Tug of war | Backtracking | Bitmasks | Love Babbar DSA sheet | LeetCode September challenge
The Knight’s tour problem | Backtracking | DFS | Love Babbar DSA sheet
มุมมอง 13K3 ปีที่แล้ว
The Knight’s tour problem | Backtracking | DFS | Love Babbar DSA sheet
Find shortest safe route in a path with landmines | Backtracking | DFS | Love Babbar DSA sheet
มุมมอง 4.9K3 ปีที่แล้ว
Find shortest safe route in a path with landmines | Backtracking | DFS | Love Babbar DSA sheet
Intersection of 2 arrays | LeetCode Challenge | Hashing | Two pointer | Arrays | DSA
มุมมอง 1.3K3 ปีที่แล้ว
Intersection of 2 arrays | LeetCode Challenge | Hashing | Two pointer | Arrays | DSA
Partition array into k equal sum subsets | Backtracking | Detailed solution | Love Babbar DSA sheet
มุมมอง 9K3 ปีที่แล้ว
Partition array into k equal sum subsets | Backtracking | Detailed solution | Love Babbar DSA sheet
Longest Possible Route in a Matrix with Hurdles | Backtracking | DFS | Love Babbar DSA sheet
มุมมอง 2K3 ปีที่แล้ว
Longest Possible Route in a Matrix with Hurdles | Backtracking | DFS | Love Babbar DSA sheet
Project 5: DSA project sorting visualizer PART 2 | projects for resume | creative projects
มุมมอง 8K3 ปีที่แล้ว
Project 5: DSA project sorting visualizer PART 2 | projects for resume | creative projects
Project 5: DSA project sorting visualizer PART 1(overview) | projects for resume | creative projects
มุมมอง 16K3 ปีที่แล้ว
Project 5: DSA project sorting visualizer PART 1(overview) | projects for resume | creative projects
Largest number with K swaps| Tricky | Backtracking | Detailed solution | Love Babbar DSA sheet
มุมมอง 6K3 ปีที่แล้ว
Largest number with K swaps| Tricky | Backtracking | Detailed solution | Love Babbar DSA sheet
Print all possible paths from top left to bottom right | Backtracking | Love Babbar DSA sheet
มุมมอง 1.8K3 ปีที่แล้ว
Print all possible paths from top left to bottom right | Backtracking | Love Babbar DSA sheet
Find Kth permutation of first N natural numbers | Backtracking | Recursion | Love Babbar DSA sheet
มุมมอง 2.7K3 ปีที่แล้ว
Find Kth permutation of first N natural numbers | Backtracking | Recursion | Love Babbar DSA sheet

ความคิดเห็น

  • @MOUNIKAPASUPULETI-s6p
    @MOUNIKAPASUPULETI-s6p 7 วันที่ผ่านมา

    Bro code chef certificate badge valid or not

  • @rajendertanwar1881
    @rajendertanwar1881 14 วันที่ผ่านมา

    Good explanation ❤

  • @gaurimandot5788
    @gaurimandot5788 16 วันที่ผ่านมา

    Great explanation !!

  • @heyOrca2711
    @heyOrca2711 28 วันที่ผ่านมา

    Thank You! Brother 18th Sept, 2024

  • @SurajG-ul4xq
    @SurajG-ul4xq 28 วันที่ผ่านมา

    this was my first video i ever watched of your channel n you already gained my sub, clean n neat explanation

  • @manannagpal2822
    @manannagpal2822 28 วันที่ผ่านมา

    Bad explanation

  • @vineetkumarmotwani474
    @vineetkumarmotwani474 29 วันที่ผ่านมา

    Sir ebook is missing from description

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

    It seems like you are making lot of efforts to explain which is very good, but even there is something missing, you are creating simple things complicated,....just go in order na,..first tell the intuition and the logic, then the code and finally the dry run,..

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

    I have also preparing for redhat internship as devops role … can you guide me regarding this

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

    Thanks man , Understood

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

    great explanation for this problem. this is a great combinatorics problem.

  • @sumitverma7439
    @sumitverma7439 2 หลายเดือนก่อน

    Solution is giving TLE, can you solve this using memoisation!!

  • @Caroline-up8qw
    @Caroline-up8qw 2 หลายเดือนก่อน

    pls send link of the book

  • @AyushGarg-r5r
    @AyushGarg-r5r 2 หลายเดือนก่อน

    good explanation in whole youtube

  • @rushio8673
    @rushio8673 2 หลายเดือนก่อน

    what is the intuition behind picking minumum and moving from minimum index ?

  • @thesoftwareguy2183
    @thesoftwareguy2183 2 หลายเดือนก่อน

    Just a Small Correction , for those who is getting wrong answer with this algorithm - After , s.erase(val) , we have to also clear this value from the map i.e (mp.erase(val)) , Or else our answer may be wrong . Thankyou!!

    • @savin1999
      @savin1999 2 หลายเดือนก่อน

      yes

  • @AnkitaNallana
    @AnkitaNallana 2 หลายเดือนก่อน

    That `num - 1` intuition was the hardest part for me

  • @ManavVerma-f2t
    @ManavVerma-f2t 2 หลายเดือนก่อน

    When you applied, please reply

  • @sudeepgupta5104
    @sudeepgupta5104 2 หลายเดือนก่อน

    Dp approach doesn't get submitted because NlogN is the constraints

  • @shachisinghal8856
    @shachisinghal8856 2 หลายเดือนก่อน

    Brilliant 😊😊😊, just subscribed 🎉

  • @johnj171
    @johnj171 2 หลายเดือนก่อน

    to convince ourselt to use merge sort !!! hell yeah brother I support you for the honestly im gonna watch you videos only for the honesty!!!!!!! because i was't really confused of how things arise in brain your honest made me feel i am not alone thanksssss!!!!!!!!!!!! a lot

  • @AnuragGupta-ov8dz
    @AnuragGupta-ov8dz 3 หลายเดือนก่อน

    Nicely explained👏

  • @technologybaba192
    @technologybaba192 3 หลายเดือนก่อน

    Thanks a lot

  • @NiteshYadavnitw
    @NiteshYadavnitw 3 หลายเดือนก่อน

    nice

  • @SonithKumar25
    @SonithKumar25 3 หลายเดือนก่อน

    This video is more helpful sir thank you. Actually I easy to understood in your way

  • @akshadgupta3925
    @akshadgupta3925 3 หลายเดือนก่อน

    great logical thinking👍

  • @gauravbanerjee2898
    @gauravbanerjee2898 3 หลายเดือนก่อน

    Thanks a lot

  • @harshvachhani4922
    @harshvachhani4922 3 หลายเดือนก่อน

    Great video!!!

  • @gauravbanerjee2898
    @gauravbanerjee2898 3 หลายเดือนก่อน

    Thank you so much bhaiya ❤❤

  • @AMANPASWAN-ns9fe
    @AMANPASWAN-ns9fe 3 หลายเดือนก่อน

    can you provide the source code for this pls

  • @sohan_here
    @sohan_here 3 หลายเดือนก่อน

    Not for beginners 💀☠️

  • @09avishkargaikwad71
    @09avishkargaikwad71 4 หลายเดือนก่อน

    We can simply Think like a DFS approach. Explore all the possible ways.

  • @BeingShortlyApt
    @BeingShortlyApt 4 หลายเดือนก่อน

    which book is mentioned in the description...the amazon link is not working

  • @gauravbanerjee2898
    @gauravbanerjee2898 4 หลายเดือนก่อน

    Thanks a lot bhai

  • @donno2423
    @donno2423 4 หลายเดือนก่อน

    great explanation bro

  • @webmovie6078
    @webmovie6078 4 หลายเดือนก่อน

    Thanks bro .. your explanation is just amazing . I did not aware of dp but even I understood this solution and even tried dry run and solved the question. Thank you

  • @vattiyeshwanth282
    @vattiyeshwanth282 5 หลายเดือนก่อน

    sir at 13:52 you mentioned that 2 has significance that it it mentioning the numbers that will come onto left after sorting, but that's wrong and not true for every element, reason why 6 has 1 as answer, it mentions number of smaller elements present on right side before sorting

  • @sj_4038
    @sj_4038 5 หลายเดือนก่อน

    i think we are moving minimum because at LeetCode We define the range [a, b] is smaller than range [c, d] if b - a < d - c or a < c if b - a == d - c. hence starting from minimum give correct answer

  • @aditimahabole1761
    @aditimahabole1761 5 หลายเดือนก่อน

    cant we do this using two pointers approach?

  • @jitendrakumar-vv8ho
    @jitendrakumar-vv8ho 5 หลายเดือนก่อน

    which college were u from bro??

  • @HimanshuBhole-q1z
    @HimanshuBhole-q1z 5 หลายเดือนก่อน

    th-cam.com/video/3qN3bonkCG4/w-d-xo.html How It is possible because, if we return on first line then second will never been executed

  • @Coding_Projects_Urwar
    @Coding_Projects_Urwar 5 หลายเดือนก่อน

    Anaconda Spyder se run kiye to Module not found dikha rha h bhaiya

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

    nice video

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

    samjhana hai bhai, padhna nhi h bs

  • @LinhHoang-ml1qo
    @LinhHoang-ml1qo 6 หลายเดือนก่อน

    thank for your effort!

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

    I don't get the second case of dn-1 when I think about it its tells me that it should be dn-3 cause if (a) gets i hat and i didn't get (a) then then we have a and i and another one who will get (a) hat so we fixed 3

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

    Video starts at 03:25. Thank me later also put the video to 2x.

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

    keep making video one of the best video for sliding window

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

    can you please mention(problems links) which all other questions are based on this same approach ?

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

    bhai jb tujhe aata na h to video kyo bnate ho ... phle pd lo... kuchh bhi btae ja rha h... phle recursive solution to bta... ki only testcase pass krane se mtlb h