Top 5 Data Structures they asked me in 127 interviews

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

Комментарии • 102

  • @sahilandsarra
    @sahilandsarra  3 месяца назад +2

    Try my free email crash course to crush technical interviews: instabyte.io/

    • @hgs142
      @hgs142 12 часов назад

      Hi sir how do I access this course

  • @a-k-j
    @a-k-j 4 месяца назад +34

    1) Heap - Heapsort, Dijkstra, Median of a Stream
    2) BInary Tree - Traversals(Pre-Order, Post-Order, In-Order, Level Order) - Lowest Common Ancestor, Left View of a Binary Tree, Maximum Path Sum
    3) Hashmap - Whenever a quick lookup is needed
    4) Stack/Queue - Largest Rectangle in a Histogram
    5) Graphs - Graph Search(BFS, DFS, Dijkstra), Topological Sort, Loop in a Graph - Bus Routes

  • @ilyes914
    @ilyes914 Год назад +144

    Data structures:
    Heap
    Binary Tree
    HashMap
    Stack/Queue
    Graphs

    • @sahilandsarra
      @sahilandsarra  Год назад +19

      👍

    • @inkinblue
      @inkinblue 6 месяцев назад +2

      thanks bro...great advice​@@sahilandsarra

  • @SudhanshuKumar-ru5bv
    @SudhanshuKumar-ru5bv Год назад +94

    Please create DSA sheet based on your experience.

  • @snehsrivastava7286
    @snehsrivastava7286 Год назад +7

    After watching and listening to countless youtubers, I can say you provide the most relevant, practical, effective, articulate and to the point videos that people really need. I really enjoy watching your videos and I have learnt a lot too. Kudos to you!

  • @stupidfrog
    @stupidfrog 7 месяцев назад +3

    Graphs are the best. It's usually pretty easy to recognize when you have a graph problem in front of you, so as long as you've memorized the graph algorithms, you should be fine.
    Stacks, on the other hand, are the worst. It can be pretty hard to recognize that you need to use a stack a lot of the times.

  • @sathiya1984
    @sathiya1984 Год назад +6

    Held up in an infinite loop between the top 5 data structures and top 5 algorithms 😀

  • @Om-bn3xb
    @Om-bn3xb Год назад +6

    Most of people suggest go with c++ or java for placements and Don't go with python
    What's your suggestion?

    • @gsettu7255
      @gsettu7255 Год назад +4

      Python as more inbuilt functions and it's very easy to do what you think when it's so easy u don't build ur logical ability how does that works behind so writing the code from scratch and learning from c++ and java is that's why always preferred and resources for the dsa questions solution are flooded with only these two languages anyhow there is no harm in doing with python u can explore

    • @newfaith912
      @newfaith912 Год назад +1

      Learn one..... You will most likely fail to understand it. Than learn another one and again, most likely u will fail again, but when u come to your third you will begin to grasp what u like and how to get a job. Programming is not easy as it seems. AI can program but ai cant solve unique problems. Thats where u come in and thats what ppl play you to do.

    • @rajmajumdar5253
      @rajmajumdar5253 Год назад +1

      ​@@gsettu7255 c++ also has STL and Java has Collections.
      So that way people can also not learn the basic way to implement these DS and use the built-in libraries of C++ and Java.

    • @CaliburPANDAs
      @CaliburPANDAs Год назад +2

      what if you only know JS?

    • @LolLol007
      @LolLol007 Год назад +2

      You can use any language you're familiar with i think

  • @sanyamsharma350
    @sanyamsharma350 Год назад

    I came to know top topic but when you also explained that what to use when it made doing my work very easy. thank for that

  • @shivangivashishth
    @shivangivashishth 9 месяцев назад

    Love your comm. Skills, sahil.
    Shivangi from india!

  • @vivekgoswami303
    @vivekgoswami303 Год назад +1

    u r very creative men and your content really helpful for us :)

  • @ThourCS2
    @ThourCS2 Год назад +4

    Bro your voice is too low. Please put some effort or do voice boost in Audacity or some tool. Can barely listen to you without earphones.

    • @engividal
      @engividal 8 месяцев назад +1

      Seriously?

  • @MikeMwongela-fu7gx
    @MikeMwongela-fu7gx Год назад +2

    Thank you so much. You are the best 👌

  • @toheebalawode1634
    @toheebalawode1634 Год назад +4

    power couple, why can't you teach DSA here on youtube, your explanation sounds so comprehensive

  • @Channel-tr1hx
    @Channel-tr1hx 7 месяцев назад

    Accurate. Good job!

  • @-Corvo_Attano
    @-Corvo_Attano Год назад +1

    Thank you Sahil :)

  • @jiteshvedhera7272
    @jiteshvedhera7272 Год назад +3

    Can you suggest how to prep for angular developer interview or in others words for front end developer position?

  • @MeherabSourov
    @MeherabSourov Год назад +1

    Sir i am your big fan. I am a Civil engineering student (1st year). But i am too much interested about programing and also i have a dream to be a programmer, and almost i am starting learn python because of your inspiration.But now it is very hard decesion for my carrier that would i continue both civil Engineering and programing or focus on just specific one? Can you suggest me sir.....

  • @goldensmiths
    @goldensmiths Год назад

    Please can you make a short video on how sololearn was built

  • @Shadowxgaming_
    @Shadowxgaming_ Год назад

    Awesome video dude ❤

  • @ragunathand4677
    @ragunathand4677 Год назад +5

    @power_couple can you give weightage for each in percentages? like graphs have 30% weightage , binary trees have 20% weightage etc

  • @prasenjeetkapse2020
    @prasenjeetkapse2020 Год назад +1

    Help sir your video sound is low plz make it little louder and clear

  • @munib2023
    @munib2023 Год назад +1

    Is it necessary to implement every data structure from scratch according to your experience?
    Please answer

    • @codr0514
      @codr0514 11 месяцев назад

      You should know how to implement some basic data structures like LinkedList(Singly & Doubly), Stack, Queue, Binary Tree, Trie, Graph, Heap. In most of the interviews you no need to implement Heap, but knowing it's algorithm is always better. Same with graph. Once you know the inner workings of these data structures then you will be better off to know when and where to use to these DS.

  • @chideraferdinand3168
    @chideraferdinand3168 Год назад +1

    Stacks and queue were the easiest I learnt but I try to think of were I can apply them

    • @fdg-rt2rk
      @fdg-rt2rk Год назад

      They're mostly used while developing system softwares. For example: Queue(FIFO principle) is used in messaging systems like rabbitmq . Queue is also uses in javascript event loop architecture

    • @chideraferdinand3168
      @chideraferdinand3168 Год назад

      @@fdg-rt2rk When it comes to python, where can it be used in the real world

  • @TechEntrepreneur-x
    @TechEntrepreneur-x Год назад +2

    Bhai yanha pe cv shortlist nahi ho raha hai kya kare algorithms ka. Sab bolenge 90 days notice period. Ek bat to hai jo land kar gaya bolega bht asan hai

    • @callofduty1
      @callofduty1 Год назад

      Exactly. But this man gives good advice.

    • @TechEntrepreneur-x
      @TechEntrepreneur-x Год назад +1

      @@callofduty1 bro I am also big fan of him. But the reality after learning all this nothing. Just waste

    • @TechEntrepreneur-x
      @TechEntrepreneur-x Год назад

      @@codewithsaj9270 Bro I have done 2 3 projects even I am a co-founder of startup still no calls. Bhai chance to dedo yarr. DSA bhi sahi hai Mera. Bhai mil gaya jisko wo bolega bht asan hai ek bar reality dekho

  • @chennicky3151
    @chennicky3151 Год назад +1

    For a post-order traversal should it not be 4,5,2,1,3,6,7?

    • @sahilandsarra
      @sahilandsarra  Год назад +1

      I think I made a mistake in the video. It should be 4526731

    • @chideraferdinand3168
      @chideraferdinand3168 Год назад

      This is an idea on how it works
      Preorder:
      Inorder:
      Postorder:

  • @sanket7877
    @sanket7877 8 месяцев назад

    I'm preparing for my campus placement. So Im thinking of leaving the graphs , DP and tries for now. Will cover the rest of the data structure. Is it ok ?

  • @CaliburPANDAs
    @CaliburPANDAs Год назад +1

    what about linked lists

    • @AdityaV2024
      @AdityaV2024 Год назад

      I was also thinking about the same😅

  • @SrijanINdeutchland
    @SrijanINdeutchland 8 месяцев назад

    Can u plz make video on how to prepare for hakerrank

  • @D_Analyst007
    @D_Analyst007 Год назад

    yr you are damn humble being

  • @munib2023
    @munib2023 Год назад

    Is it necessary to learn implementing data structures from scratch?
    As there are many built-in data structure especially in Java language.
    Please answer
    Thanks

  • @sibaprasad2156
    @sibaprasad2156 Год назад +1

    Leetcode medium problem based on these data structure is enough to crack mid tier companies?

  • @almousafir4041
    @almousafir4041 Год назад +1

    Thanks a lot Sahli 🥰

  • @iftekharalammithu5128
    @iftekharalammithu5128 Год назад

    hello sir.
    i really love your video.But there is a problem. your voice is too low . My pc sound is in the max level even that it still difficult to understand your voice.
    Can you please increase your video audio levels during Editing.
    Thank you.❤❤

  • @amishbhadwa7104
    @amishbhadwa7104 10 месяцев назад

    Does this apply in India as well ??

  • @itz_me_Harsha
    @itz_me_Harsha Год назад +1

    Which language are you recommending for these ds to start with ?

    • @sahilandsarra
      @sahilandsarra  Год назад +4

      Python

    • @billionairearmy8094
      @billionairearmy8094 Год назад +2

      ​@@sahilandsarrasir ,. I'm begginer in semester 1 i have started with Java , should I change to phyton

  • @charchilgarg
    @charchilgarg Год назад +1

    Sir, should I learn dynamic programming for an interview?

  • @sanjaymishra-ec9lw
    @sanjaymishra-ec9lw Год назад +1

    Hello sir, I am non computer science background but I am interested to learn programming, And I learn Python language and it is really amazing and interesting language.

    • @princezuko7073
      @princezuko7073 Год назад

      Great to see that you learning python coming from a non major. Let me know if you want to connect and need any help later.

    • @sanjaymishra-ec9lw
      @sanjaymishra-ec9lw Год назад

      @@princezuko7073 give your mail address

    • @Austin-l1j
      @Austin-l1j Год назад

      @@princezuko7073hey are you offering help in general? I’m taking programming with c++ 2 and computer science is my major.

  • @kk3528
    @kk3528 9 месяцев назад

    Very good 💯

  • @Itz-Dark-ItzYT
    @Itz-Dark-ItzYT 4 месяца назад

    Brother in need most common fully DSA interview question

  • @ratnadeepsaha7675
    @ratnadeepsaha7675 Год назад

    Sir can you make top 10 list on ds and algo.

  • @RakeshSingh-qo5nd
    @RakeshSingh-qo5nd Год назад

    Thanks for the information

  • @VarunKapoor-tc1je
    @VarunKapoor-tc1je Год назад

    hi sahil , where should I learn python dsa ? . Is that Udacity course enough or should I do something extra ?

  • @only_shorts.
    @only_shorts. Год назад

    Is java and dsa enough to get a job
    Suggest any good area and company, where one could get a job with java and dsa

  • @ilyes914
    @ilyes914 Год назад +1

    Thank you so much

  • @FazalMohammadQadirzay
    @FazalMohammadQadirzay Год назад

    Hello Sahil i'm from afghanistan please give me explaination about leet code is it free or not

  • @sangu3939
    @sangu3939 Год назад

    Bro make a video on Android app development by java

  • @ToxIc-xz2jh
    @ToxIc-xz2jh Год назад

    Is there any programming language required to learn data structures?

    • @fdg-rt2rk
      @fdg-rt2rk Год назад +2

      Data structures are implemented through programming languages.

  • @jasminjasmin3780
    @jasminjasmin3780 Год назад +1

    You are looking like Roman Reigns

  • @vedparkashgaba5478
    @vedparkashgaba5478 Год назад +1

    Nice video

  • @AmalTScaria
    @AmalTScaria Год назад +1

    which language u suggest the most to learn DSA?

  • @AmitSharma-ef8ud
    @AmitSharma-ef8ud 9 месяцев назад

    Create your dsa sheet and share us

  • @AyushSingh-rx4iv
    @AyushSingh-rx4iv 3 месяца назад

    Why do you speak in lower case ( no offense sir 🙏🏻)

  • @Unifyall
    @Unifyall Месяц назад

    more deep about graph

  • @devopsjockey
    @devopsjockey Год назад

  • @minkowskiyaacov6067
    @minkowskiyaacov6067 Год назад +1

    Paris is not a country