there are other teachers too behing the hood. don't give all credits to one
@proteanguy34114 жыл бұрын
@@baxi9227 urvi and one boy I don't know who they both are teaching C/C++ so we are talking about them urvi is better than the boy interm of explanation
@baxi92274 жыл бұрын
@@proteanguy3411 can u explain me why? Let me guess. I think the reason is she is a girl. Is it?
@sahilanand302 жыл бұрын
Animation is always easy to understand You guys are doing great 🙇♂👏
@ritu53684 жыл бұрын
When any video come from bhaiya channel..Feeling is like 🔥🔥🔥🔥🔥🔥💥💥💥
@rajancrazyvlogs60874 жыл бұрын
time complexity should also be discussed
@TechnicalAnkesh4 жыл бұрын
yes
@pateljay44013 жыл бұрын
Yes
@vijayhiremath96183 жыл бұрын
Similar to the selection sort
@kaartikshukla69633 жыл бұрын
O(n^2)
@thorxgaming80613 жыл бұрын
@@kaartikshukla6963 can u explain how?
@aryansharma-wf8sn4 жыл бұрын
Bestest c++ course available on the internet by Aman bhaiya and urvi didi 🤩🤩😍😍🥰🥰
@Harshp0624 жыл бұрын
@Om Prakash Yadav agar first time c++ explore kr rahe ya to sab kuch smoothly samajna ho jyada time dekar to codewithharry best hai. aur jab basics samaj gaye ho aur phir se sara remember krna ho to iss series se achchi koi series nai hai.
@s.k.g55444 жыл бұрын
@Om Prakash Yadav haa wo array bahut achha padhai h aur yaha mujhe bahut kuch samjh nahi aaya
@yourbestie41384 жыл бұрын
who has noticed there is no adds in the lectures....😁😁...Thank u didi
@virajmurab73184 жыл бұрын
this was a bit complicated but the code was pretty cleverly written!
@adityams16594 жыл бұрын
I felt the code written was clever...It never occoured to me that I can use while loop...Thanks to while the code is simple....cheers!
@ranjeet58064 жыл бұрын
That's the difference between a passout and freshers like us. I had 3 for loops and 1 if statement only for sorting the array.
@yashshingade15934 жыл бұрын
indeed the code was clever but not because of while . we could have done the same thing using for . and in all prev cases we used for we couldve done them with while .
@hargunsingh83653 жыл бұрын
@@ranjeet5806 yes same here and also used 6 variables whereas she used only 5.
@shivambhatnagar94733 жыл бұрын
It is not clever. Same code or algorithm is given in the book Introduction to Algorithms by Thomas Cormen. They must have studied it from there.
@rameshmalhotra95253 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs
@gauravbhutani264 жыл бұрын
Waiting for Web D... please bring it soon bhaiya,, Thankyou so much😍😍
@shivanichawla004 жыл бұрын
❤waiting❤
@veerusingh19813 жыл бұрын
Waiting too
@rameshmalhotra95253 жыл бұрын
kzbin.info/www/bejne/h4XEmnlug5ucabs
@saketbarnawal21504 жыл бұрын
These course is so much helpful for me . I had learnt so much things from here. Thankyou so much for this course
@mloneusk15393 жыл бұрын
The code was so precise and to the point!
@fallenleaves1723 жыл бұрын
I didn't understand some lines of this code..... but when I analysed it with an example.... I understand it's well written This would be difficult for beginners like me
@AdityaMishra-iq7zg4 жыл бұрын
who want a course of android development and animated course for java from our respected bhiya hit like to show that you want this course
@govindtomar62844 жыл бұрын
I think the answer to the horse quiz should be 8. Because for the 2nd winner the race should be between A2, B1, C1, D1, E1. And then for 3rd winner, the race should be accordingly arranged taking one member from each group.
@shobhabhatia18063 жыл бұрын
Ya i m also thinking the same , but dont know if i m right or wrong
@iedit17132 жыл бұрын
yes, how come we know that C1 and other winner horses of respective horses actually slower than A2?
@KushagraSikka2 жыл бұрын
bruh is A2 runner up in the row , and b1 is the runner up in the column,
@quickclipsbysnoopy Жыл бұрын
no you are wrong, because we can save who comes at what rank, we obviously know d1 and e1 are slower than 3 contestants. A1, B1, C1. So, they cannot be among rank 1,2,3. But, we don't where do a2 and b2 lie in this ranking
@AbhinavPt Жыл бұрын
the 7th race will be between the people who have only lost twice at most ,which will be A2, B1,A3,B2,C1. it won't be, anyone from D or E since, we already know that there are atleast three people faster than all the people in D and E, i.e. A1,B1,C1.
@husler74243 жыл бұрын
Most of/All videos missing most underrated factor: Time complexity and Space complexity
@snehilsinha46894 жыл бұрын
Samay Raina be like - "Ghoda is a respectable animal". 🤣🤣🤣🤣
@chiranjeev3314 жыл бұрын
Aman bhaiya doing prank kzbin.infoIwTpJ8YRsUg ...
@snehilsinha46893 жыл бұрын
@KESHAV SINGHAL Yup I used to be a National Champion. But later had to quit Chess for studies :'(
@akshatpandey85713 жыл бұрын
@@snehilsinha4689 what why i am also a 1900 player still continuing
@akshatpandey85713 жыл бұрын
@KESHAV SINGHAL yup you?
@snehilsinha46893 жыл бұрын
@@akshatpandey8571 being a 1900 player, no one knows better than you ig how much practice and time it takes to be good at chess. There is one point where you have to choose between your studies and chess. You can't beat the strong players in a tournament without hours of practice each day. I cleared my 2nd IM norm and quit chess almost 3 years ago when I was around 2100 FIDE rated. Now due to lack of practice, I feel like even a 1500-1600 player might beat me :'). You can either be an IM or a GM at chess or an IM or GM at codeforces XD. I choose codeforces lol.
@LifewRoshu3 жыл бұрын
Thank you so much AMAN BHAIYA and the whole team of APNA COLLEGE ❤️❤️✨✨
@ayushdebnath33433 жыл бұрын
The brain teasers since the last video are just awesome 😎😎😎
@fatehpreetsingh14404 жыл бұрын
Sir please start python and web dev also.BTW this cpp course is unbeatable💥💥
@rameshmaske99194 жыл бұрын
They will star after 1 or 2 months.
@adityaupadhyay34 жыл бұрын
ruko bhai sabar karo
@fatehpreetsingh14404 жыл бұрын
@@adityaupadhyay3 😅
@rutuhirapara93704 жыл бұрын
Aa gaya🔥
@nayeemislam81183 жыл бұрын
What a video it was! Whoever you are, thank you very much for such a Xoss tutorial!
@akashtyagi93263 жыл бұрын
She is Shardha kaphra from NSIT'22.
@dhruvcrio35454 жыл бұрын
The "why' behind the things are not thought, like if we try to write the code ourselves we don't know whether do we use a j loop, and why do we go behind the current only, all this doubts building from first principles don't make sense. It's like there is just a code given and we are trying are best to break it down rather than making one ourselves. I LOVE THE SERIES. IT'S REALLY HELPFUL, BUT WOULD LOVE TO HAVE THIS CONSIDERATION IN IT.
@arslaan20014 жыл бұрын
When I read the question of 25 horses at first, I made the algo: It'll take 5 races of 5 horses each, will record the timings of each horse crossing finish line and hence declare the winners according to the least time taken 😅
@Shivamkumar-xu6hu4 жыл бұрын
Lol
@tapeface28633 жыл бұрын
by the way agar time taken pata kar sakte to [distance/time taken] se horses ki average speed pata nahi chal jati.aur vaha kaha hai (we cannot calculate their speeds)
@gouripeddipawansreekar17523 жыл бұрын
lol..same here bro
@Ankushdas20013 жыл бұрын
she forgot to mention you cant time the horses, this puzzle was asked by microsoft
@jaymehta80222 жыл бұрын
@@Ankushdas2001 Abhi firse video banaya hai iss pazal ka usme bola hai ki Google ka Puzzle Question hai😂😂
@shivammaurya34514 жыл бұрын
Thank u aman bhaiya, mam ur explanation make coding very easy. It helps me to build confidence now after watching your all video since day 1 of coding it helps me a lot ur series is best ❤ 💕 💞
@fuasteriskk Жыл бұрын
yaar comment section me sabko samajh aara hai yeh topic ,mujhe nahi aara kya karuu
@Kami_26 Жыл бұрын
@@fuasteriskk sahi keh rha he, is ne explain hi nhe kia kya ho rha he insertion sort me
@finyog Жыл бұрын
Thanks for the video, valid index check in while loop can be done first and then the element comparison:)
function InsertionSort(nums){ for(let i = 1 ; i < nums.length ; i++){ let temp = nums[i] let j = i -1 while(j >= 0 && nums[j] > temp){ nums[j+1] = nums[j] j-- } nums[j+1] = temp }return nums } const nums = [5, 8, 3, 1, 9]; console.log(InsertionSort(nums));
@smrtghosh50726 ай бұрын
Semi colon kon dega
@ajaykiran64 жыл бұрын
Thank you. are maine to bas 6th race tak ki sochi thi...aur soch raha tha ki waah kitna simple tha puzzle .. xD
@035asadali83 жыл бұрын
same
@oshawottschamber1937 Жыл бұрын
Thank you madam, you solved my doubt
@suryansh-me4 жыл бұрын
Bhaiya aap mahan ho you are not from this world 🙏🙏
@JyotisArt4 жыл бұрын
Nice 👍
@harshitsaini93069 ай бұрын
you should teach with comments , it really helps in making notes and memorizing the algorithm
@PritamKumar-mr5dv4 жыл бұрын
while(j>=0&&arr[j]>current ) this will improve null pointer exception
@vamsikrishnadamisetti2082 жыл бұрын
ArrayIndexOutOfBound not null
@amith26074 жыл бұрын
Love from Karnataka 💕
@sammygamer57333 жыл бұрын
Use range based for loop For input and output of array😉
@amankushwaha81803 жыл бұрын
what is this can you explain
@smarakdey37394 жыл бұрын
That was a great brain teaser. Loved it.
@GURU-lz1iw3 жыл бұрын
naah mereko lgta hai ki yeh waala puzzle galat hai... kyuki agr a5 jyada hua b1 se toh kya hoga???? humko yeh thodi pta hai ki a3, a4, a5 bada hai yaa chota hai b1 se... seems doubtful...
@patelrajkumarnareshkumar81563 жыл бұрын
in a insertion sort we should use forloop instead of while it's easy to use.
@savani38433 жыл бұрын
I thought the same thing for bubble sort code
@chandransh25454 ай бұрын
Explanation is very casual please explain it with more information according to the algorithm.
@HawkingMerchant3 жыл бұрын
yaar jadu ki tarah sidhe dimaag me ghus gya concept
@aaryankakade3282 жыл бұрын
i found insertion sort ka code to be difficult ... it took me a while to completely understand the role and relation of 'i' and 'j' for how they were switching the positions of the elements ...
@striker1917 Жыл бұрын
Can u explain plxzzz
@striker1917 Жыл бұрын
Can u explain plxzzz
@indumatichakrabarti84144 жыл бұрын
Your voice is so sweet ❤️❤️👍
@chiranjeev3314 жыл бұрын
Aman bhaiya doing prank kzbin.infoIwTpJ8YRsUg ........
@v4victor893 жыл бұрын
I think for the puzzle the current solution should be 9 races…as how can we say that only A2 is fast enough as B2 ….what if all horses in A group are faster than B1 …just what I thought…any thing I missed ….plz correct me…btw grt tutorial di
@AmanDeep-cw5gg2 жыл бұрын
@Akshay R what if all fastest runners are in same group?
@muhammadtaseer50173 жыл бұрын
best video i have seen so far
@ajiteshgarg75573 жыл бұрын
kuch jada hi tgdi animation h!!!!!! gajaaaab
@ankitpandey89673 жыл бұрын
Maam you are awesome teacher 👍
@fundestroyer92814 жыл бұрын
Literally this video was so unclear no explanation of the step why do we need to do this.
@aamirrafi8137 Жыл бұрын
Ryt bro
@__idyllist Жыл бұрын
You got the logic. No matter of what it is!😎
@Let-s_Entertain.... Жыл бұрын
@@__idyllistright 👍
@untold_vlogs_09 Жыл бұрын
Sahi bat he
@pnkdtu27 Жыл бұрын
Bro it's not School that need logic for everything it's all about using your own logic and thinking abilities
@channelcuriosity50434 жыл бұрын
So much thanks to Aman bhaiya..........🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏🙏
@manasgupta6647 Жыл бұрын
1:56 we perform shifting instead of swapping in insertion sort👍👍
@AmanSingh-rz1rj4 жыл бұрын
Aman bhaiya thnxx a lot for this giving video . Helpfull carry on
@AbhishekKumar-td5zu4 жыл бұрын
Tqsm bhaiya ♥️♥️
@ritu53684 жыл бұрын
Want a heart ❤ from bhaiya..Please 🙏🙏🙏🙏🙏
@cheedhuruvivekvardhan69239 ай бұрын
small correction j>=0 has to be written at before if doesn't it could give IndexOutOfBounds Exception.
@AbhiMule4043 жыл бұрын
I love your backgrnd music ❤
@lalitshah78674 жыл бұрын
Didi bahut achha hai
@sourabhchoudhary71753 жыл бұрын
We are just doing it by seeing the numbers but what we're actually doing should be discussed.. Like we are comparing the numbers from starting and if it's greater than and smaller than a number then it's placed in between them.
@shivamaggarwal48872 жыл бұрын
Yes the logic was not clear
@antor.morsalin2 жыл бұрын
using them as function is even better .
@satvikisahu94493 жыл бұрын
Thank u so much for these video for sorting... Coz I'm c++ student from last 3 years... & sorting always better difficult part for all my mates & me..... But u told so nicely I'll always gonna remember it 💕. Thank you 😍 keep growing 💚 all the best 💛
@AmitKumar-ld3mz2 жыл бұрын
sachme ... aur easily explain kr skte hy ..
@roastie24742 жыл бұрын
@@AmitKumar-ld3mz Chup Bhutni ke
@Adeus_yt Жыл бұрын
Bhai tu pichle 3 saal se bs c++ me hi atka hua tha 🤣🤣🤣🤣
@saparzadutta73164 жыл бұрын
Thank you Bhaiya & our precious teachers🙇♀️!!
@jaypratap38884 жыл бұрын
brain teaser was awesome. Best teacher di .tysm
@Aakxsh2217 Жыл бұрын
Didi No doubt aap acha padhati hai but aap ye batiye aap hume pdari hai ya video bna kr dalna is your aim what if agr kisi student ko aapke kuch video k concept smjh ni aare can i give you feedback while implementation the program i think you need to put video step by step what is i and what is j matlab ek video typeor ache se visualise k liye,i think this idea becomes more easy to clear the concept and more students will clarify their doubt.
@pranav_10564 жыл бұрын
Bhaiya just a reminder( I know you definately remeber) Please upload the notes of 8.2 video They aren't uploaded yet 🙏🙏
@sandeepkumarsingh48024 жыл бұрын
8.3 video notes contains 8.2 video notes as well...check it once.
@vaibhavgupta66004 жыл бұрын
Gzb pda diya shi me i love this course
@Securitywala00711 ай бұрын
ghaziabad padha diya?
@vaibhavgupta660011 ай бұрын
@@Securitywala007 gzb - gazab
@Gurl975-b9o5 ай бұрын
I still couldn’t get the last horse question as at 6th race we can get our 3 winners ,, runner ups
@myth_02 Жыл бұрын
it will take 6 races to find out the 3 fastest horses. In first 5 races, we'll get the 5 fastest among them and at the 6th race, we'll get the 1st fastest horse. And 2nd and 3rd fastest horses will automatically be those horses who got 2nd and 3rd position in the race respectively. If you guys think im wrong, lmk in the reply :)
@sadicarnot1861 Жыл бұрын
exactly...i also think that
@NISHKARSHEDITZ4 жыл бұрын
Thanks for this video
@arshpreetsingh5186 Жыл бұрын
void InsertionSort(int arr[], int size) { for (int i = 1; i < size; i++) { int current = arr[i]; int sorted = i - 1; for (int k = sorted; k >= 0; k--) { if (arr[k] > current) { arr[k+1] = arr[k]; arr[k] = current; } } } }
@prashantsaini93744 жыл бұрын
Bhaiya app jo notes de rhe ho Vo app pdf bnake daal doge ? Jb c++ ka course khatm ho jayega Phase 1 and phase 2 uss se kaafi help hogi 😊
@PujaSingh-tg3zr4 жыл бұрын
Thanks bhaiya...
@Krishnaaa344 жыл бұрын
😅 brain teaser ne toh brain ke ghode doda diye.
@gauravsharma34444 жыл бұрын
This one is little difficult for me to imagine in mind , idn
@rahul_ji213 жыл бұрын
Bhai mughe to code samaj hi nhi ayaa😭
@prajwalrahangdale58383 жыл бұрын
@@rahul_ji21 we are same bro,😭...abhi code samajh gya kya
@rahul_ji213 жыл бұрын
@@prajwalrahangdale5838 😂ha bro samaj gaya 😆 lol
@bikramdas1033 жыл бұрын
@@rahul_ji21 badiya h :d
@codingriovo6313 жыл бұрын
what's idn?
@akashkaturishorts11633 жыл бұрын
I need to use the debugger to understand this algorithm. But kudos.. It's simple and understandable.
@shubhamXmandal3 жыл бұрын
So in the brian teaser we are indirectly making fixture of the matches -Any P.E student here
@_KUHUSINGH3 жыл бұрын
Why do we consider extra current variable to store arr[ 0 ]
@_code.hunter_3 жыл бұрын
6th race me hi 3 fastest horses aa gaye to 7th race ki need kyo he 6th me jo top 3 honge vahi to 3 fastest horses honge
@diveshkumar15932 жыл бұрын
You explained condition like when we swap those numbers and all , but you didn't told explain us about that loop you used, why we are using those conditions, why not ,
@dhruvrawat25618 ай бұрын
8:44 , but is it necessary that we consider b2 to be the third fastest horse well c2, d2 and e2 can be the third fastest, it is just that we havent raced them yet , i m just saying that we have just landed ona conclusion that a1 is the fastest horse then the other horses in the same queue will also surely be the second and third fastest.
@codinglover45014 жыл бұрын
Plz provide practice questions and solutions next day upload keya kro .
@ashwinsingh58054 жыл бұрын
Thanks a Lot bhaiya
@AmanRaj-nn6xx3 жыл бұрын
The solution for the puzzle question looks like a mess. The way five groups were divided into A12345, B12345, ... , C12345 Let's just consider the speeds of the horses in group A as 2,4,6,8,10 km/hr and A1, A2, A3 as the winners. What if the speed of the horses of the B group is 20,30,40,50,60 or any higher numbers. The horses B1, B2, B3 are the winners here, but the horses of Group B like B4 and B5 have higher speed than even the fastest horses of group A but they'll end up being disqualified. There are other different observations too which suggest the solution was an over-simplified one. Do correct me if I'm wrong or I'm missing something.
@prashantupadhyay36523 жыл бұрын
correct mam.. i too thought about that only
@shashankst87282 жыл бұрын
Actually I feel we have to take the best possible case to find the lowest number of races.
@adityapatil92153 жыл бұрын
best content
@cyyborgg4 жыл бұрын
Animations are really helpful.
@raihanmdsiqbal90974 жыл бұрын
Bhaiya merge, quick, insertion, count, radix sort kab aayega. Thank you bhaiya and Didi awesome video. God bless you.
@UnKnown-id7ih4 жыл бұрын
If it is possible just slow the speed of teaching di, because I'm the one who understand very late. By the way I'm loving this course ❤❤
@chiranjeev3314 жыл бұрын
Aman bhaiya doing prank kzbin.infoIwTpJ8YRsUg .......
@vedantparatkar72664 жыл бұрын
carry on
@veerusingh19813 жыл бұрын
Osm didi .u are just fab
@vortex370 Жыл бұрын
the condition return is wrong ... Because let j=-1 arr[-1] eventually give array index out of bound Beacuse we are checking j>=0 after arr[j]>current So the code is wrong
@abhinavmishra93233 жыл бұрын
Good course Saurabh Shukla is also good
@ujjawalmishra8584 жыл бұрын
Awesome Video, Thank You so much... Reminder:- Bhaiya when will 8.2 notes will be uploaded ??
@SushilaBansode-ik5jc Жыл бұрын
Mam u r very fast please make a note while explaining any topic that how the line is used ..in program and why ?...and how it will work..
@ayushranjan30143 жыл бұрын
The horse question explanation is wrong. It is fairly possible that A2>B1. Or even A1 A2 and A3 are the only 3 fastest horse. A/q to me we will have to consider as 3 winner from all the 5. And thus proceed as such 1st: 25 horse 2nd: 15 horse 3rd: 9 horse 4th: 6horse and then ans in the 5th stage. Its algo will be while(no_of_horse!=3) { no_of_round=no_of_horse/5; count+=no_of_round; no_of_horse= (3*no_of_horse)/5; }
@balkaran84584 жыл бұрын
after j-- , j ki value j=0 ho jaygi to phir humne a[j+1] pr current value daal dijabki wo value j=0 pr aane chaiye the j+1 pr to alrady value chali gyi yaha smjh ni aaya kiya hua hai koi btaa skta hai
@kiranp58284 жыл бұрын
Believe me guys !! No one explain more clearly tha this team. These guys are really amazing. And also there is such a good animation!!!.
@ashutoshthite3 жыл бұрын
The brain teaser is sooo good !!😊
@abhishekthakur29333 жыл бұрын
did you code it?
@sakshithakur84654 жыл бұрын
Content and time is great but we are a bit behind on the timeline bhaiya If you could increase the frequency students like me would be benefited a lottt.
@ayushtiwari4895 Жыл бұрын
Why arr[j+1]= current Bcz it will put current in arr[1] only
@ashishranjan8321 Жыл бұрын
Doubt--- we are given 25 horses and we have divided them m 5 groups including 5 horses each...... So what if the slowest horse in group A is fastest then horses of other groups??
@fastfirst3 жыл бұрын
Isme 8 races hogi kyoki 2nd place pe B2 bhi ho sakta hai to total 6 contestant for further 7th and 8th race chech it again
@dishantaggarwal63134 жыл бұрын
Didi should we start doing practice array ques. on gfg, hackerrank , hackerearth???
@kslalita63364 жыл бұрын
Not now you may try beginner level bro to get feel...
@abhi36662 жыл бұрын
Correct answer is 8, 5 each (A,B,C,D,E)GROUPS, Then, 6th is B1+A2,C1,D1,E1, Let A2 Won 7the ,is B1+ A3,C1,D1,E1, now if B1 wins We have 3winners...
@09avishkargaikwad712 жыл бұрын
Can anyone give the coding logic for that puzzle???