Ayushi Sharma
Ayushi Sharma
  • 414
  • 2 872 916
4. Move Zeroes | Arrays - Easy | Learn DSA
Timestamps:
problem explanation: 00:00
brute force approach: 00:32
optimal approach: 02:42
code explanation: 07:52
complexity analysis: 08:24
Problem link: leetcode.com/problems/move-zeroes/description/1
Code link: github.com/Ayu-99/Learn-DSA/blob/main/Arrays/Easy/Move%20Zeroes.py
Time complexity: O(n)
Space complexity: O(1)
Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :)
#DataStructuresAndAlgorithms
#Leetcode
#interviewpreparation
#AyushiSharma
Move Zeroes solution
Move Zeroes Leetcode
Move Zeroes C++
Move Zeroes Java
Move Zeroes Python
🔥🔥🔥🔥👇👇👇
Join telegram channel for more updates on placement preparation : t.me/AyushiSharmaDiscussionGroup
Checkout the series: 🔥🔥🔥
👉Interview Experiences : czcams.com/play/PLPyD8bF-abzu3MpYL6VHYaTpX0M585Hbn.html
👉 Array: czcams.com/play/PLPyD8bF-abzszl5o0RUBkx7JW07wbHqgg.html
👉 Linked List : czcams.com/play/PLPyD8bF-abzuor0yYzO1g7v8y7u6vO-Fe.html
👉 Heap : czcams.com/play/PLPyD8bF-abzswXItsbav88ojXrzurguY3.html
👉 Recursion : czcams.com/play/PLPyD8bF-abzvCv0ZHXy6o1y1IVYPUQp2e.html
👉 Stack and Queue : czcams.com/play/PLPyD8bF-abzvVxx7DSeyj8Pvj40kcP6fV.html
👉 Greedy :czcams.com/play/PLPyD8bF-abzudEGrlh_iIzhrbCN-ju7SA.html
👉 Dynamic Programming : czcams.com/play/PLPyD8bF-abztuSJ47ZGRz9NpOwt41l0up.html
👉 Leetcode contests : czcams.com/play/PLPyD8bF-abzvyTZpKMzMTI1uU4Lhkf_kQ.html
👉 Leetcode June Challenge :czcams.com/play/PLPyD8bF-abzvpMYh22Jo4ymAqxnhMRWRF.html
👉 Leetcode July Challenge : czcams.com/play/PLPyD8bF-abzszOD5IHwY788YlEAEYvkXt.html
LIKE | SHARE | SUBSCRIBE 🔥🔥😊
zhlédnutí: 778

Video

3. Remove Duplicates from Sorted Array | Arrays - Easy | LearnDSA
zhlédnutí 426Před 14 dny
Problem link: leetcode.com/problems/remove-duplicates-from-sorted-array/ Code link: github.com/Ayu-99/Learn-DSA/blob/main/Arrays/Easy/Remove Duplicates from Sorted Array.py Time complexity: O(n) Space complexity: O(1) Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :) #DataStructuresAndAlgorithms #Leetcode #interviewpr...
2. Second Largest | Array - Easy | Learn DSA
zhlédnutí 614Před 14 dny
Problem link: www.geeksforgeeks.org/problems/second-largest3735/1 Code link: github.com/Ayu-99/Learn-DSA/blob/main/Arrays/Easy/Second Largest.py Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :) #DataStructuresAndAlgorithms #Leetcode #interviewpreparation #AyushiSharma Sum of Square Numbers solution Sum of Square Numb...
1. Largest Element | Arrays - Easy | Learn DSA
zhlédnutí 438Před 14 dny
Problem link: www.geeksforgeeks.org/problems/largest-element-in-array4009/1?itm_source=geeksforgeeks&itm_medium=article&itm_campaign=bottom_sticky_on_article Code link: github.com/Ayu-99/Learn-DSA/blob/main/Arrays/Easy/Largest element in Array.py Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :) #DataStructuresAndAlgo...
0. Array Data Structure - Introduction | Learn DSA series | Part-1
zhlédnutí 840Před 14 dny
Read more about Array: www.geeksforgeeks.org/array-data-structure-guide/ Please like, share and subscribe if you found the video useful. Feel free to ask in comments section if you have any doubts. :) #DataStructuresAndAlgorithms #Leetcode #interviewpreparation #AyushiSharma Sum of Square Numbers solution Sum of Square Numbers Leetcode Sum of Square Numbers C Sum of Square Numbers Java Sum of S...
5. Quick Sort | Learn DSA series | Part-1 | Sorting Algorithms
zhlédnutí 381Před 14 dny
QuickSort is a sorting algorithm based on the Divide and Conquer algorithm that picks an element as a pivot and partitions the given array around the picked pivot by placing the pivot in its correct position in the sorted array. Time Complexity : O(nlogn) Space Complexity : O(1) Code Link: github.com/Ayu-99/Data-Structures/blob/master/Sorting Algorithms/Quick Sort.py Please like, share and subs...
4. Merge sort | Learn DSA series | Part-1 | Sorting Algorithms
zhlédnutí 156Před 21 dnem
Merge sort is to divide the array into two halves, sort each half, and then merge the sorted halves back together. This process is repeated until the entire array is sorted. Time Complexity : O(nlogn) Space Complexity : O(n) Code Link: github.com/Ayu-99/Data-Structures/blob/master/Sorting Algorithms/Merge sort.py Please like, share and subscribe if you found the video useful. Feel free to ask i...
3. Insertion Sort | Learn DSA Series | Part-1 | Sorting Algorithms
zhlédnutí 231Před 21 dnem
Insertion sort is a simple sorting algorithm that works by iteratively inserting each element of an unsorted list into its correct position in a sorted portion of the list. It is a stable sorting algorithm, meaning that elements with equal values maintain their relative order in the sorted output. Time Complexity : O(n^2) Space Complexity : O(1) Code Link: github.com/Ayu-99/Data-Structures/blob...
2. Selection Sort | Learn DSA Series | Part-1 | Sorting Algorithms
zhlédnutí 425Před 21 dnem
Selection sort is a simple and efficient sorting algorithm that works by repeatedly selecting the smallest (or largest) element from the unsorted portion of the list and moving it to the sorted portion of the list. Time Complexity : O(n^2) Space Complexity : O(1) Code Link: github.com/Ayu-99/Data-Structures/blob/master/Sorting Algorithms/Selection sort.py Please like, share and subscribe if you...
1. Bubble Sort | Learn DSA Series | Part-1 | Sorting Algorithms
zhlédnutí 936Před 21 dnem
In Bubble Sort algorithm, traverse from left and compare adjacent elements and the higher one is placed at right side. In this way, the largest element is moved to the rightmost end at first. This process is then continued to find the second largest and place it and so on until the data is sorted. Time Complexity : O(n^2) Space Complexity : O(1) Code Link: github.com/Ayu-99/Data-Structures/blob...
Find Center of Star Graph | Leetcode 1791
zhlédnutí 369Před 21 dnem
Timestamps: Problem discussion: 00:00 brute force approach: 02:10 optimal approach: 04:54 code explanation: 08:04 Time Complexity : O(1) Space Complexity : O(1) Problem Link: leetcode.com/problems/find-center-of-star-graph/description/?envType=daily-question&envId=2024-06-27 Code Link: github.com/Ayu-99/Data-Structures/blob/master/Graphs/Find Center of Star Graph.java Please like, share and sub...
Balance a Binary Search Tree | Leetcode 1382
zhlédnutí 541Před 28 dny
Timestamps: Problem discussion: 00:00 Approach and dry run: 01:50 code explanation: 13:30 Time Complexity : O(n) Space Complexity : O(n) Problem Link : leetcode.com/problems/balance-a-binary-search-tree/description/?envType=daily-question&envId=2024-06-26 Code Link: github.com/Ayu-99/Data-Structures/blob/master/Binary Search Tree/Balance a Binary Search Tree.java Please like, share and subscrib...
Binary Search Tree to Greater Sum Tree | Leetcode 1038
zhlédnutí 811Před 28 dny
Binary Search Tree to Greater Sum Tree | Leetcode 1038
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Leetcode 1438
zhlédnutí 902Před měsícem
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit | Leetcode 1438
Count Number of Nice Subarrays | Leetcode 1248
zhlédnutí 637Před měsícem
Count Number of Nice Subarrays | Leetcode 1248
Magnetic Force Between Two Balls | Leetcode 1552
zhlédnutí 1,5KPřed měsícem
Magnetic Force Between Two Balls | Leetcode 1552
Minimum Number of Days to Make m Bouquets | Leetcode 1482
zhlédnutí 1KPřed měsícem
Minimum Number of Days to Make m Bouquets | Leetcode 1482
Most Profit Assigning Work | Leetcode 826
zhlédnutí 801Před měsícem
Most Profit Assigning Work | Leetcode 826
Sum of Square Numbers | Leetcode 633
zhlédnutí 913Před měsícem
Sum of Square Numbers | Leetcode 633
Relative Sort Array | Leetcode 1122
zhlédnutí 1,2KPřed měsícem
Relative Sort Array | Leetcode 1122
Height Checker | Leetcode 1051
zhlédnutí 635Před měsícem
Height Checker | Leetcode 1051
Bye Walmart ! Farewell..... 😢
zhlédnutí 9KPřed měsícem
Bye Walmart ! Farewell..... 😢
Relative Ranks | Leetcode 506 | 3 approaches
zhlédnutí 792Před 2 měsíci
Relative Ranks | Leetcode 506 | 3 approaches
Remove Nodes From Linked List | Leetcode 2487
zhlédnutí 303Před 2 měsíci
Remove Nodes From Linked List | Leetcode 2487
Vertical sum | GFG POTD | Binary Trees
zhlédnutí 556Před 2 měsíci
Vertical sum | GFG POTD | Binary Trees
Delete Node in a Linked List | Leetcode 237
zhlédnutí 600Před 2 měsíci
Delete Node in a Linked List | Leetcode 237
Boats to Save People | Leetcode 881 | Hindi
zhlédnutí 426Před 2 měsíci
Boats to Save People | Leetcode 881 | Hindi
Remove Nth Node From End of List | Leetcode 19
zhlédnutí 1,1KPřed 4 měsíci
Remove Nth Node From End of List | Leetcode 19
Squares of a Sorted Array | Leetcode 977
zhlédnutí 906Před 4 měsíci
Squares of a Sorted Array | Leetcode 977
Maximum Odd Binary Number | Leetcode 2864
zhlédnutí 852Před 4 měsíci
Maximum Odd Binary Number | Leetcode 2864

Komentáře

  • @santhosh7042
    @santhosh7042 Před dnem

    Didi i dont know why after listening this stream i feel more confident. But two days ago i feel extremely low because even 6lpa companies is not shortlisting me for first round of campus placement. Just to give little info about me, 4th yr student from chandigarh University. And ive done Preety decent amount of leetcode of 570+ questions ans mern developer.

    • @AyushiSharmaDSA
      @AyushiSharmaDSA Před dnem

      @@santhosh7042 relax, if you apply to 100 companies, you’ll hear back from 5 or 6. It is for everyone. Do not worry :)

  • @trivedi2690
    @trivedi2690 Před 2 dny

    hi ayushi can you share your microsoft interview experince.

  • @chiduralavignesh7595

    good

  • @Nostalgic_Pixels5707

    maine aapka same code try kiya phir bhi nahi hua 😔

  • @Nostalgic_Pixels5707

    I understand the approach , technique acha hai but sare testcases pass nahi hue leetcode me es solution se

  • @technologybaba192
    @technologybaba192 Před 5 dny

    Thanks

  • @rajatraj4297
    @rajatraj4297 Před 6 dny

    Didi , maine 400 sawal striver sheet se krliye with notes, but never did any revision.. so how can I revise them?

  • @beastboy..
    @beastboy.. Před 6 dny

    How to think like you btw?

  • @rit453
    @rit453 Před 6 dny

    Connection request dal diya hai please accept kar lo @riteshkumar31

  • @vickyroy3595
    @vickyroy3595 Před 6 dny

    100k soon❤

  • @vickyroy3595
    @vickyroy3595 Před 6 dny

    Connection request😢

  • @rajnishsingh2864
    @rajnishsingh2864 Před 6 dny

    What is your tech stack in Microsoft

  • @abhishekupadhyay2546

    Really need some guidance, please accept linked in request

  • @rohityadavmudra
    @rohityadavmudra Před 7 dny

    Hello Ayushi di , im a final year student and preparing for my on campus placement, how can i get off campus placement??

  • @shubhamgupta5819
    @shubhamgupta5819 Před 7 dny

    Noida m ho to milte h xdd

  • @AyushiSharmaDSA
    @AyushiSharmaDSA Před 7 dny

    thank you guys, didn't thought anyone will be awake at 2 am, but you guys are awesome! I hope you guys get your dream jobs and all your hardwork pays off eventually :) and just one advice, do not run after FAANG companies, run after good work, exciting work, good work life balance and prioritize job location and your family :) Bye, good night :)

    • @venis2208
      @venis2208 Před 6 dny

      I thought the job location was a very great point because we ignore our family just running after a high paying job. 😢

    • @AyushiSharmaDSA
      @AyushiSharmaDSA Před 6 dny

      @@venis2208 exactly :)

  • @TestYourTenacity
    @TestYourTenacity Před 7 dny

    ma'am please make video on Time complexity

  • @SunilSahu-sy5is
    @SunilSahu-sy5is Před 7 dny

    Thanku di , for making the rivision video 😊

  • @asifd102
    @asifd102 Před 8 dny

    your explanation is very good , i want to give some more advise is while explaning the dry run write down very clearly

  • @ankit-yj7hk
    @ankit-yj7hk Před 8 dny

    didi only is enough to crack interview??

  • @suyashtripathi1818
    @suyashtripathi1818 Před 9 dny

    I am suffering with dsa problem but everyone ensure that.. Practice is key to comfort in dsa so... We believe and go with.. Thnks for that type of content.. You bring for all tier 3 colleges..

  • @DARASINGHRATHI-hr5cm

    Di , you are doing great 😊

  • @suyashtripathi1818
    @suyashtripathi1818 Před 9 dny

    Thanku di.. Thanku so much for this video and explaining the part < k case .. 😊

  • @rabindradocument8934
    @rabindradocument8934 Před 10 dny

    Iska matlab dsa questions answer ratt na he. But in development work we dont do that.

  • @rabindradocument8934
    @rabindradocument8934 Před 10 dny

    Walmart is not amazon guys. But it is a good company like many others

  • @prajwalb5489
    @prajwalb5489 Před 10 dny

    Yar how can i get Crack coding round help yar, my campus placement are coming soon

  • @ssmohanty153
    @ssmohanty153 Před 10 dny

    which laptop are you using didi?

  • @ssmohanty153
    @ssmohanty153 Před 10 dny

    which personal laptop are you using now?

  • @gandharavkatyal822
    @gandharavkatyal822 Před 11 dny

    great advice

  • @vaibhavrajput8677
    @vaibhavrajput8677 Před 11 dny

    Vaibhav Rajput