Duration 19:37

Sort 012 | Time and Space | Data Structure and Algorithms in JAVA

21 778 watched
0
591
Published 5 Aug 2020

Please consume this content on nados.pepcoding.com for a richer experience. It is necessary to solve the questions while watching videos, nados.pepcoding.com enables that. NADOS also enables doubt support, career opportunities and contests besides free of charge content for learning. In this video, we have explained how to sort 012 in Time and Space in Java. For a better experience and more exercises, VISIT: https://www.pepcoding.com/resources/online-java-foundation #pepcoding #java #programming Have a look at our result: https://www.pepcoding.com/placements Follow us on our FB page: https://www.facebook.com/pepcoding Follow us on Instagram: https://www.instagram.com/pepcoding Follow us on LinkedIn: https://www.linkedin.com/company/pepcoding-education Join us on Telegram: https://t.me/joinchat/UVTjJE83a-zFnPB

Category Education

Show more

Comments - 62
  • @
    @sachinsharma9053 years ago Whenever I search for a particular question on YouTube and Pepcoding channel comes up, it is the best feeling. Thanks sir. You explained the best. 37
  • @
    @LegitGamer23454 years ago sir aapka content hai tho bahut accha , abhi tak jitna bhi dsa ka content maine use kiya hai unme se apka best hai , but agar aap in par focus karoge tho fir yeh best content ever ban jayega :
    1. jab aap questions karwaye , tab atleast ek brute force solution bata do bas ek , uske baad optimized solution (jo aap batathe ho) , this will set u apart from the rest of the dsa content producers since they also jump to optimized solution directly.
    2. Har question ka time and space analysis bata do.
    3. Content daalne ki speed bada dho.
    Bas yehi hai sir baaki har aspect mai apka content win karta hai , aap inpar focus karoge agar tho exponential growth hogi.
    ...
    7
  • @
    @harshshukla76753 years ago The way you explain concepts shows the depth of knowledge you of have , it was so entertaining to watch you explain the concepts with such ease that anyone can understand , great video💯 5
  • @
    @ishugupta20832 years ago Out of all the videos I search on net, your explanation is best and very intuitive. Thanks a lot.
  • @
    @ananysharma92903 years ago The actual intuition is explained here. Everyone else just told the algorithm , sir showed why it is working , Hats off 🔥🔥❤️ 6
  • @
    @yashsoni-mf5cd3 years ago what an amazing explanation sir. Thank you sir.
  • @
    @sushilvarande62233 years ago Everyday learning lots from your videos to solve the problem in the easiest & simplest way and will try to get as much as from you .. you are a true inspiration for me .. Thanks a lot for your great videos. 2
  • @
    @swatibhatia992 years ago I am able to understand main reasoning of questions only from your videos . Thank you SIr .
  • @
    @manishbolbanda98723 years ago Wow. You made it so simple. Thanks for this awesome explanation. Can you Please tell me this problem comes under which topic? Actually maine gfg pe questions and i was stuck 4
  • @
    @mrmagician56093 years ago Was able to do it without even watching single second of the video (but watching anyways for clearity 😅)
    Thanks for the teachings!
    1
  • @
    @anmoldogra51504 years ago also agr is Tarah 0,1,2,3 ya Kuch jyada elements as Jaye toh yhi approach lgegiya ya koi aur? Sort 0,4,9,16,25 hm5 region bnate kya?
  • @
    @shivanishikha85523 years ago why can't we simply use normal partition sort in this??!!!!!
  • @
    @SCRIPTSAG4 years ago Sir amezon ke online roundes me level 2 me jo question honge wo ate hai kya
  • @
    @Nothing-eg9ol3 years ago really awesome explaination i have seen 4/5 videos but didn't understand now i understood thank you so much pepcoding
  • @
    @tanmaysinghal83702 years ago nice technique... maine apna around 1 ghanta waste kar dia tha iss question ke lie, mujhe laga tha ye bhi 2 pointer se hi jaega... maine 3 ka socha hi nahi and i'm damn sure agar 2 ka soch bhi leta tab bhi ye solution nahi nikal pata ...
  • @
    @tarushgoyal30913 years ago Sir, can't we use Count Sort in this question as the range is very less?
  • @
    @manavmalhotra85132 years ago hello sir while(i <= k) i didn't understand this
    I did it like this
    while(i < arr.length & j < arr.length & k>=0
    please explain
  • @
    @sachinsharma9053 years ago Whenever I search for a particular question on YouTube and Pepcoding channel comes up, it is the best feeling. Thanks sir. You explained the best. 37
  • @
    @LegitGamer23454 years ago sir aapka content hai tho bahut accha , abhi tak jitna bhi dsa ka content maine use kiya hai unme se apka best hai , but agar aap in par focus karoge tho fir yeh best content ever ban jayega :
    1. jab aap questions karwaye , tab atleast ek brute force solution bata do bas ek , uske baad optimized solution (jo aap batathe ho) , this will set u apart from the rest of the dsa content producers since they also jump to optimized solution directly.
    2. Har question ka time and space analysis bata do.
    3. Content daalne ki speed bada dho.
    Bas yehi hai sir baaki har aspect mai apka content win karta hai , aap inpar focus karoge agar tho exponential growth hogi.
    ...
    7
  • @
    @harshshukla76753 years ago The way you explain concepts shows the depth of knowledge you of have , it was so entertaining to watch you explain the concepts with such ease that anyone can understand , great video💯 5
  • @
    @ishugupta20832 years ago Out of all the videos I search on net, your explanation is best and very intuitive. Thanks a lot.
  • @
    @ananysharma92903 years ago The actual intuition is explained here. Everyone else just told the algorithm , sir showed why it is working , Hats off 🔥🔥❤️ 6
  • @
    @yashsoni-mf5cd3 years ago what an amazing explanation sir. Thank you sir.
  • @
    @sushilvarande62233 years ago Everyday learning lots from your videos to solve the problem in the easiest & simplest way and will try to get as much as from you .. you are a true inspiration for me .. Thanks a lot for your great videos. 2
  • @
    @swatibhatia992 years ago I am able to understand main reasoning of questions only from your videos . Thank you SIr .
  • @
    @manishbolbanda98723 years ago Wow. You made it so simple. Thanks for this awesome explanation. Can you Please tell me this problem comes under which topic? Actually maine gfg pe questions and i was stuck 4
  • @
    @mrmagician56093 years ago Was able to do it without even watching single second of the video (but watching anyways for clearity 😅)
    Thanks for the teachings!
    1
  • @
    @anmoldogra51504 years ago also agr is Tarah 0,1,2,3 ya Kuch jyada elements as Jaye toh yhi approach lgegiya ya koi aur? Sort 0,4,9,16,25 hm5 region bnate kya?
  • @
    @shivanishikha85523 years ago why can't we simply use normal partition sort in this??!!!!!
  • @
    @SCRIPTSAG4 years ago Sir amezon ke online roundes me level 2 me jo question honge wo ate hai kya
  • @
    @Nothing-eg9ol3 years ago really awesome explaination i have seen 4/5 videos but didn't understand now i understood thank you so much pepcoding
  • @
    @tanmaysinghal83702 years ago nice technique... maine apna around 1 ghanta waste kar dia tha iss question ke lie, mujhe laga tha ye bhi 2 pointer se hi jaega... maine 3 ka socha hi nahi and i'm damn sure agar 2 ka soch bhi leta tab bhi ye solution nahi nikal pata ...
  • @
    @tarushgoyal30913 years ago Sir, can't we use Count Sort in this question as the range is very less?
  • @
    @manavmalhotra85132 years ago hello sir while(i <= k) i didn't understand this
    I did it like this
    while(i < arr.length & j < arr.length & k>=0
    please explain