Notes of this video: drive.google.c... Apni Kaksha Instagram: / apnikaksha Apni Kaksha Telegram: t.me/apnikaksh...
Пікірлер: 1 100
@dippelarc89973 жыл бұрын
✤People will throw stones at you. Don't throw them back. Collect them all and build and empire.✤ Thank You A.D.
@chiranjeev3313 жыл бұрын
kzbin.info/www/bejne/sKO4nImln6h5Zs0
@sauravrawat55873 жыл бұрын
😂😂
@shrutidas3593 жыл бұрын
why people will throw stones at her🤔🤔🤔
@ashutoshharma3 жыл бұрын
they had us in the first half
@starkendeavours70723 жыл бұрын
Lovely...dil khush ho gya ye sunke❤️❤️❤️
@nikhillodhi74273 жыл бұрын
Will watch all these videos after my board examinations... Now came here to give a like for there hardwork👍👍
@chiranjeev3313 жыл бұрын
Me to. From which board are you
@chiranjeev3313 жыл бұрын
I am from cbse board
@Pratyush_Srivastava243 жыл бұрын
CBSE , same here
@soniabhatia98533 жыл бұрын
Same
@krishjani96293 жыл бұрын
Same here.... From Gujarat boards
@rounakghosh4693 жыл бұрын
Waiting for the day when educational videos will start trending in KZbin ❤️
@AbhishekKumar-nz9dn2 жыл бұрын
india me chapri bohot bhare hue hai ,jinka education se koi lena dena nhi hai .
@hatcoder Жыл бұрын
I will bring that day buddy 🤞🤞
@saranshyadav663 жыл бұрын
NOTE: At 4:51 Instead of selection sort bubble sort logic is used but selection sort logic was explained. Selection Sort Function is given below in c++: ************************************************** void selectionSort(int a[], int n){ for(int i = 0; i < n-1; i++){ int min = i; for(int j = i+1; j < n; j++){ if (a[min] > a[j]) min = j; } int temp = a[i]; a[i] = a[min]; a[min] = temp; } }
@khushinautiyal1858 Жыл бұрын
doing god's work
@aimld28_utkarshpandey41 Жыл бұрын
kzbin.info/www/bejne/rpSzd4h5nZWdipI Bubble sort is this bro!
@coderfek Жыл бұрын
Good job. This is hell of a confusion .
@nitikadhiman5068 Жыл бұрын
was looking for this comment only... galat code btaya hai
@__idyllist Жыл бұрын
Actually this one is right
@sumitsharma67383 жыл бұрын
didi ka jo josh hota hai starting hai usse mereko motivation aa jati hai seriously.......
@AkhilKumar-zo4rh3 жыл бұрын
Bhaiya kisi din apni kaksha + apna college ke sabhi teachers ke saath ek video bnao naa...(face reveal and their intros)....vo sb ki kaafi mehnat kr rhe h unka thoda fame to bnta h...
@suman-majhi3 жыл бұрын
He is following Robert Kiyosaki rules
@vathsan39063 жыл бұрын
@@suman-majhi what is that?
@suman-majhi3 жыл бұрын
@@vathsan3906author of Rich dad, poor dad....a book...just search for it bro
@NITISHKUMAR-tr9bc3 жыл бұрын
@Akhil Kumar seeedhe seedhe bolo na bhai ki jo mam padha rhi hai usko dekhna hai 😂😂😂😂😂😂😂😂😂😂😂😂😂
@vathsan39063 жыл бұрын
@@suman-majhi which rule?
@Vishwadeep_ceo3 жыл бұрын
to make This 8 :32minute of video it has taken atlest 2 days for the whole process like animation , index, etc. Give a big like for all the educators of apni kaksha . 👇 👇
@ApnaCollegeOfficial3 жыл бұрын
It takes us 2 days to make a 7-8 min video. Script + Shoot + Edit + Animate + Edit + Review + Notes
@KodiLearn3 жыл бұрын
2 hrs mai toh mere jaisa simple videos vi complete nahi hota 😂🤣
@pradhumangupta84693 жыл бұрын
Bhai 2hr really ?? Very bad guess, it took more than 1 working day for such short video ( I know coz I m plus student and he told us in casual talks)
@Vishwadeep_ceo3 жыл бұрын
@@ApnaCollegeOfficial yes sir . I totally agree with u
@niladriroy16653 жыл бұрын
@@Vishwadeep_ceo edit kar diya.... 2hrs ko 2 days kar diya. 🤣🤣
@sachijoshi91613 жыл бұрын
The way you explain is amazing. you make the concepts so easy understand. Thanks
@__idyllist Жыл бұрын
In coding you have to learn how to rewrite the concept in code. Probably/almost all are aware about the concept. But don't know how to implement and she has written a wrong code. Once you try by yourself you'll know! Thank me later!
@ggv-informationtechnology66453 жыл бұрын
Please have a look at selection sort algorithm. It seems that algorithm doesn't match with your implemented code in the given notes
@simranarora38642 жыл бұрын
When I did dry run- When i = 1 and j loop was going on from 2,3,4,5 Three swapping took place Which is not the case of selection sort you told in theory
@shivammaurya34513 жыл бұрын
Thank u mam and aman bhaiya mam u're explanation helps a lot to understand the concept thank u mam
@mohdakib84483 жыл бұрын
frequency of video is just awesome your consistency and hard work will pay off best of luck everyone
@jaymeenjogiya87983 жыл бұрын
I think there is a conflict in the theory of the selection sort vs the code , code looks like bubble sort
@rounaksharma90913 жыл бұрын
yea i feel the code is wrong ,its bubble sort code
@rakesharigela73373 жыл бұрын
@@rounaksharma9091 yes
@hhhhhhhhh9632 жыл бұрын
Agreed
@AbhishekKumar-nz9dn2 жыл бұрын
she didn't also clarify by telling us the explanantion of the code
@hhhhhhhhh9632 жыл бұрын
@@AbhishekKumar-nz9dn Explanation is correct, Code is not upto the flowchart provided by GFG. We can't expect everything as top notch from a well structured free course😂
thankyou bhai tu har video me ye hi comment mar raha hai
@shubhsYT3 жыл бұрын
@@ritikshrivastava9442 nalla h na islie
@subhanjanbasu46423 жыл бұрын
@@shubhsYT tera baap jaisa
@sanketsingh55553 жыл бұрын
@@subhanjanbasu4642 na tere baap jaisa
@science25642 жыл бұрын
@@sanketsingh5555 na tere baap jaisa teri profile se he lg rha hai
@AnkitKumar-zx9nh3 жыл бұрын
20th video is private , what happened to that one
@shoebilyas53683 жыл бұрын
lol good one XD
@hassaanraheem56443 жыл бұрын
Wo Kal public hogi bubble sort topic hai.
@hassaanraheem56443 жыл бұрын
@KZbinr Muntazir Bhai KZbin Mai agr aap chahte ho ko koi video specific time pr upload ho tu aap timer lgakr chor dety ho or wo video playlist mai jaga leleti hai lkin private rehti hai tb tk jb tk uploadation ka time nhi hojata.
@ayushmansharma14023 жыл бұрын
Ma'm it is not a selection sort ,yes your explanation is correct for the selection sort but u had did coding of bubble sort in the video , because we can see that in the coding ,the continious swapping is going on for each iteration. But if we talk about selection sort , than the swapping occurs only 1 time for each iteration ...... // selection sorting ....... #include using namespace std; int main(){ int n; cout
@top7gram5673 жыл бұрын
I agree with you bro
@THEELECTRICGUY3 жыл бұрын
There is a small mistake in the video!!! If you look at the stepwise output(of array sorting) of the outer loop, then you will find that the working of the code is not the same as explained via the video!!!! Here is the correct code for that: int small,s,count; for(int i=0; i
@sakshamarora91223 жыл бұрын
I think the code in the video is correct. If we aren't able to find the smallest element then there will be no swapping because we have a if statement judging it. And also the swapping takes place inside the scope of if statement.
@sakshamarora91223 жыл бұрын
@@THEELECTRICGUY wait I need to code it now.
@_rahulsain3 жыл бұрын
@@THEELECTRICGUY whats the difference , it will take same time
@THEELECTRICGUY3 жыл бұрын
@@_rahulsain Selection sort, bubble sort and insertion sort have same time complexity(ie O n^2)but have different internal working according to the theory. The code you write should clearly define which sorting method you are using.
@_rahulsain3 жыл бұрын
@@THEELECTRICGUY you didnt change the logic, you changed the code a bit but it is working as in video i see no difference
@ajayarjunwadkar48083 жыл бұрын
mam in outer loop there should be i
@Risheendra3 жыл бұрын
I did my Btech in IT from private college, but no one taught me like this. Thanks mam..you are best.
@Samconery Жыл бұрын
Nice lecture. But one thing I would like to add is you need to explain the WHY? For example why do we end the first loop before n-1 and why we start the second loop after the first element. Computer Science students will know why because they can cross learn with college but other students will not be able to. The why is important to understand to remember the concepts forever otherwise it will cause confusion far into the future. This was a relatively simpler topic but more advanced will require the need to understand WHY?
@shabdsaran51313 жыл бұрын
Thank you very much sir,you are the one who's thinking is epic. May you stay happy all over your life and also very very thanks to your team.🙏
@arunkumarsingh2724 Жыл бұрын
Not sir she's madam😂😂😂
@zackcarl78612 жыл бұрын
Question :- Why are we taking loop For(i=0;i
@supernova44672 жыл бұрын
Exactly my question
@zackcarl78612 жыл бұрын
@@supernova4467 i found out , it's because we are traversing from i=1 to i=n right , so for say 5elements , we take i=n-1 because we don't want it to compare last element to itself which would happen in i=n , so for i=n-1 we compare 4th element to 5th element
@supernova44672 жыл бұрын
@@zackcarl7861 then the coding part is right na? It's same gfg also
@pradyumnmishra34593 жыл бұрын
And also thankx to all teachers who are making such a great effort. And finally with the help of your videos, I become capable of solving the given problem. Thnxx sir and mam🔥
@conquerworld_in3 жыл бұрын
One of the best series BUT just a simple suggestion, please show us a solution with debugging the code so that we can get a better idea, but now as series is fully made please just put a video on how to debug program so that every one of us can do that and understand every code with full Efficiency.
@AkibHussain3 жыл бұрын
Concentrate all your thoughts on the task at hand. The sun's rays do no burn untill brought to a focus.
@jagritiyadavv3 жыл бұрын
Nice quote.
@devashreesharma38653 жыл бұрын
The girls that explains the concept is the best. She explains so well better than anybody here. And the way she explains makes me more interested in the subject and would want to do better and better day by day.
@smrutikamble72553 жыл бұрын
This is a slow and understandable video ..Di pls keep this speed as it is😃💙
@pradhyumnasinghrathore76773 жыл бұрын
Selection sort is that sorting technique in minimum no of swapping is required nearly n swap required to sort entire array but in your case no of swapping is n*(n-1)/2.
@sumitchandola71263 жыл бұрын
I think , this is almostly same like insertion sort....
@LASTWOLF3 жыл бұрын
Write an algorithm to find the longest sequence in order(ascending) from the given array: {23, 65, 15, 43, 10, 25, 35, 42, 18} and print the sequence. Write a C program for the same.
@virendrapratapsingh68256 ай бұрын
In the selection sort if you swap every time you get an < then it will take too much time and space try taking minimum element first then swap it with arr[i]
@sasikirane16383 жыл бұрын
May be the code was of bubble sort instead of selection sort🙏
@amantarar90773 жыл бұрын
iss comment ko top parr lao,otherwise padhne walon ko confusion hoegi
@AbhishekKumar-nz9dn2 жыл бұрын
yes bhai ,definately gadbad hai
@talhabinsiam47573 жыл бұрын
learn this selection sort very easy and effective way from this channel.Thank you so much mam.
@nikitasharma20693 жыл бұрын
For those pals who noticed that the code doesn't match with the explaination. Here's the correct code of selection sort: #include using namespace std; int main(){ int n; cin>>n; int array[n]; for (int i = 0; i < n; i++) { cin>>array[i]; } for (int i = 0; i < n; i++) { int min = array[i]; int loc = i; for (int j = i+1; j < n; j++) { if (min > array[j]) { min = array[j]; loc = j; } } int temp = array[i]; array[i] = array[loc]; array[loc] = temp; } for (int i = 0; i < n; i++) { cout
@manthanpatil22682 жыл бұрын
Thanks btw!
@nikitagaikwad27882 жыл бұрын
Thx dear
@GULLAPUDILIKITHBCE2 жыл бұрын
what is the use of min variable? #include using namespace std; int main() { int arr[5]={3,4,2,1,-100}; for(int i=0;i
@Ahmad-zm6rk2 жыл бұрын
Voice in beginning and ending is very different .Aisa lga jaise didi ki jgh koi or h Lekin end me didi hi thi By the way didi ne smjhaya bht accha And concept is now clear
@doitwithease41113 жыл бұрын
guys is there any person following this course seriously and would like to help me in clearing some doubts....i mean we can discuss our doubts related to this course cuz i am doing C++ for the very first time and i encounter doubts and there is no one to clear them....i have many doubts in video 6.3.......
@pranayraj89453 жыл бұрын
What kind of doubts do you have..??
@shauryarana5023 жыл бұрын
I can try to ans.
@adityaswarup40113 жыл бұрын
yup...i am an expert .. feel free to ask your doubts???
@rishikeshkumar72753 жыл бұрын
Yes
@doitwithease41113 жыл бұрын
@@pranayraj8945 in video 6.3 bhaiya explained decimal to binary conversions etc....i couldnt understand all those things....if u r on instagram then kindly add me "aakarshmiglani" this is my insta id.....we can discuss over there....or can even call if u r comfortable with it
@LifewRoshu2 жыл бұрын
Thank you so much AMAN BHAIYA and the whole team of APNA COLLEGE ❤️❤️✨✨
@nickrathee8891 Жыл бұрын
@ 8:23 ----- (15 buyed) + (5 from wrapper of 15)+ ( 1 choco from 3 wrapper 2 wrapper left) + (buy 1 additional to get 1 wrapper so total we can have 3 wrapper) + (1 choco from 3 wrapper) - total = 23
@Bharatkumar-z3bАй бұрын
Your Voice is sooo humble and good !!!!
@035asadali82 жыл бұрын
when i start programming and see these videos ,i thought wth is happening now i can understand so easily .
@Saurabh-jv7pf2 жыл бұрын
I'm totally confused with the code. It's like a bubble sort but it's neither bubble sort nor selection sort. But the code works very well.
@ganbare242 Жыл бұрын
instead of using temp, we can just use - swap(arr[i], arr[j]); swap is a built-in function in cpp
@13__JAAT Жыл бұрын
You are right bro 🎉🎉
@i_mchick53113 жыл бұрын
we've only 15 RS. so we invested it to purchase 15 chocolates , then we purchased 15/3=5 more chocolates from wrappers . again from 5 chocolates we purchased 1 more ch leaving behind 2 wrappers. Total= 15+5+1=21 ch (2 wrappers left) Now tell me how can u purchase the last chocolate without having even a penny since u mentioned in the beginning we had 15 Rs only. ????? :)
@_AKASHNAIR3 жыл бұрын
its mostly an error in their script ,and its acceptable they were trying to maintain quality content while without comprmising on time
@meme-qw6hl3 жыл бұрын
Last chocolate wrapper+ 2 left wrapper =3wrappers=1chocolate
@meme-qw6hl3 жыл бұрын
#Brain teaser# include using namespace std; int main() { int chocolate,price,wp; cin>>chocolate>>price>>wp; int c=chocolate/price; int eat=0; int m=0; while(c>0) { eat=eat+c; m=m+c; c=m/wp; m=m%wp; } cout
@_AKASHNAIR3 жыл бұрын
@@meme-qw6hl so in the end only 21 choclates and 2 wrappers will be left right?
@meme-qw6hl3 жыл бұрын
@@_AKASHNAIR no 22 chocolate and 0 wrapper
@Matzzy093 жыл бұрын
seems the journey is big with apna college
@AjitKumar-bk5oe3 жыл бұрын
I am in midst of confusion state.....Someone hold me and bring back to shore of confident state. Selection sort was described as sorting process in which we find minimum value in array and then swap the values with the required index in this video. But I cant find anywhere in code regarding finding the minimum value , swapping is just done instantaneously with the next value if next value is small. Correct me if I am wrong ☺
@akshyatankur3 жыл бұрын
It does check minimum See if you check the next two numbers then if second one is small then it will swap it with first one and this process is carried for the whole I sorted array or loop, thus, making the minimum of the unsorted array to go to the first position
@vaibhavagrawal67023 жыл бұрын
Mam i think apne Selection sort ki coding me apne bubble sort ki coding btadi...
@chirantanacharyya8223 жыл бұрын
Yeah you are absolutely right
@prernachoudhary21973 жыл бұрын
Keep the spiritual high bhiya and team ...may god bless you.. And brain teaser was amazing ....
@shardulrastogi43692 жыл бұрын
Waah maza aagya, once upon a time, I used fear with this!
@dits7453 жыл бұрын
Thank you Aman bhaiya😀😊
@aayshachouhan7985 Жыл бұрын
My Sir taught me in very difficult way ,but u make it easy..Thanks
@parthpanchal815 Жыл бұрын
Bro this is not the correct code of selection sort it is bubble sort
@manansinghal56343 жыл бұрын
THIS IS NOT EXACTLY SELECTION SORT IN SELECTION SORT THE WE DO NOT CHANGE EVERY ELEMENT SMALLER THAN THE I INDEX....WE JUST HAVE TO CHANGE THE SMALLEST. ELEMENT WITH I INDEX.......PROVE-SUPPOSE THE INITIAL ARRAY IS 45 12 23 51 19 8 ......but after the completion of j loop for the first time the array will be 8 45 23 51 19 12 but the array should be 8 12 23 51 19 45.
@AbhishekKumar-nz9dn2 жыл бұрын
yes ,gadbad hai
@ashutoshkashyap71842 жыл бұрын
This is actually bubble sort. Hover to 4:25 then match the line of array with the code. The line will actually become 8 23 45 51 19 12 instead of 8 12 23 51 19 45. The correct selection sort code is this : #include using namespace std; int main(){ int n; cin>>n; cout
@ashutoshkashyap71842 жыл бұрын
Buddy see the code
@mahima_786 Жыл бұрын
The code is making confusion as nearby elements are swapped but it is not a bubble sort.The confusion is arriving as logic and code is different.
@user-nm4vn9tq5o3 жыл бұрын
Wtf man, this code isn't sorting the array.Irony is how confidently you post this video without even cross checking.
@ydafukomi5 ай бұрын
I tried it, and guess what? IT WORKED. Maybe just double check your code before confidently posting shitty comments from next time on❤
@Justforknowledge62045 ай бұрын
Bhai ye selection sort ke jagah bubble sort ka code laga di hai ye galat hai
@dipanjanchatterjee78742 ай бұрын
@@Justforknowledge6204pehele aap sikhke aao ke kaun sa selection sort hai aur kaun sa bubble sort hai😒😒😒😂 Ye bilkul thik hai
@badavaththarun70063 жыл бұрын
I think the code here is not the same as the concept explained In the video, it works fine. But the problem is it does not find the minimum element in the unsorted array, it just finds the element smaller than ar[i] in the unsorted part ex : 10 3 4 5 -1 6 hereafter the first iteration, we want it to be -1 3 4 5 10 6 but the code gives 3 10 4 5 -1 6. I've implemented the code #include using namespace std; void selection_sort(int ar[], int n) { // find the min in the remaining part and swap it. int min_index; for (int i = 0; i < n-1; i++) { // set min index to i min_index = i; for (int j = i + 1; j < n; j++) { // if element is less than ar[min_index] set min_index = j if (ar[j] < ar[min_index]) { min_index = j; } } swap(ar[i],ar[min_index]); } for (int i = 0; i < n; i++) { cout > ar[i]; } selection_sort(ar, n); }
@sdaks0012 жыл бұрын
Yeah you're correct its just comparing two numbers and updating the lesser one at index 0
@pranav_10563 жыл бұрын
Bhaiya just a reminder( I know you definately remeber) Please upload the notes of previous video They aren't uploaded yet 🙏🙏
@kartikeyadubey12663 жыл бұрын
Yes yes bhaiya , where can we find those notes.
@smile85103 жыл бұрын
teaching in such a simple way is awesome.
@itshiraljain3 жыл бұрын
There is some mistake in selection sort code, we aren't optimizing no. of swaps, the correct code should be like this: for (int i = 0; i < n-1; i++) { int min = i; for (int j = i+1; j < n; j++) { if (arr[j] < arr[min]) { min = j; } } if (min != i) { swap(arr[min], arr[i]); } }
@harharmahadev10383 жыл бұрын
can you explain what you meant by saying that and this part... if (min != i) { swap(arr[min], arr[i]); }
@itshiraljain3 жыл бұрын
@@harharmahadev1038 What actually happens in selection sort is that we have to find minimum element and swap it with the first element of unsorted array, i.e. all smaller elements will come at beginning in ascending order. Now if "min" is not equal to "i" it means that beginning element of unsorted array and min element are different that is why we need to swap both of them. swap function is present in bits/stdc++ library, u can simply include the library and use the function instead of taking temp variable...
@muntasirsunny3 ай бұрын
It's not selection sort, it's bubble sort. Theoretically you explained that inside the array you need to find the minimum and swap with the index element but in your code did you write the logic of finding that minimum element? No, you didn't.
@anuragkumarsharma39263 жыл бұрын
This code have one problem , We don't have to swap everytime when we get smaller number but only when we get smallest element in the unsorted array. according to the code output will be i guess {3,6,2,7,9}. Correct me guys if i am wrong
@kashyapanuragi89873 жыл бұрын
Ni bhai code sahi h Lekin lekin har baar swap karne ki jaroorat ni h, keval jab minimum mile tab short kar sakte the
@user-nm4vn9tq5o3 жыл бұрын
Yes bro you are right, their code isn't working
@usmanaliansari52232 жыл бұрын
Code galat hai Selection sort ka
@developerNik Жыл бұрын
Selection sort is the method in which we find the min element in an sorted array and swap it with the beginning of the unsorted array. Nested loops hote hai do jisme se pehla wala 0 se n-1 aur dusra wala i se n chalta hai them we compare and swap. Also that chocolates wala concept was right i forgot about that last chocolate.
@avarts443211 ай бұрын
Exactly we keep min =i and then proceed with the code
@rahulprasad35753 жыл бұрын
selection sort code was different as it explained
@sampadsadhu43713 жыл бұрын
Yes I was confused at first
@yashchauhan72213 жыл бұрын
it is bubble sort which is shown in code not selection
@chiragkakwani31743 жыл бұрын
No 1 step has been missed
@ramakp343 жыл бұрын
@@yashchauhan7221 can u tell the code of selection sort
@yashchauhan72213 жыл бұрын
@@ramakp34 Ofcourse Dude #include using namespace std; int main() { int tot, arr[50], i, j, temp, small, chk, index; couttot; cout
@divyamharbola68763 жыл бұрын
Everyone do like man, They are providing Platinum for free.
@ojasahirrao32872 жыл бұрын
In the second step, 23 is less than 45, so according to your code they both should get swapped. How come 12 is getting swapped with 45? There is no code written to find the smallest number in [45, 23, 51, 19, 12]
@ashutoshsagar837 Жыл бұрын
yes, no code is written to find the minimum here as according to the definition we have to find the minimum and then swap it with the beginning element of the unsorted array.
@aakashmodi4413 жыл бұрын
Didi ek baat batao agar i
@sahilrana113 жыл бұрын
thankyou sooo much it helped me a lot. you all are awesome more power to u.
@susheelsahu8759 Жыл бұрын
answer to the chocolate problem: int main(){ int r = 15; int c = 1; int counter = 0; while(r>0){ r = r-c; counter+=1; if(counter%3==0){ r = r+c; } } cout
@masq_ashfaq47363 жыл бұрын
I can buy 21 chocolate. Even after 21 chocolate still, I have 2 chocolate wrappers. thanks ma'am this video is so helpful and one comments for u, ur voice is very sweet.
@osamabinkarim16632 жыл бұрын
furqan sayyad ki tarf sy apko slaam..ap boht acha parhati hain
@pranavsingh95733 жыл бұрын
Aap c programming k videos bhi dala karo plz🙏🙏
@shaikwaseemahmed.55103 жыл бұрын
Thanks date to date videos thanks aman dattarwal and team
@manavkampani83673 жыл бұрын
Code for the puzzle at the end: #include using namespace std; int main() { cout n; int rate; cin>>rate; int total_chocs=n; int rem_wraps{0}; int new_wraps=n; int new_chocs{0}; while(new_wraps+rem_wraps>=3) { new_chocs=(new_wraps+rem_wraps)/3; rem_wraps=(new_wraps+rem_wraps)%3; new_wraps=new_chocs; total_chocs=total_chocs+new_chocs; } cout
@SajjadAhmed-lc2dr3 жыл бұрын
behtarenn
@ayushpathak16382 жыл бұрын
this one is better i think #include using namespace std; int main(){ int count=0; for(int i=0;i
@niknurulhuda30182 жыл бұрын
thank you sister. im finally done with my coding
@tarunparashar45053 жыл бұрын
Liked the video and was the first viewer without even being in college 😂😂😂. Btw class 12th student.
@amanagnihotri6794 Жыл бұрын
Mind-blowing 😍
@unnati.jain_2 жыл бұрын
source code for finding maximum no. of chocolates #include using namespace std; int main(){ int n; cin>>n; int choco=1*n; int wrapper=choco; int w; while(wrapper>0){ w=wrapper/3; if(w%3==0){ choco+=w; wrapper+=w; } else { choco+=w; wrapper+=w; w=wrapper-(w*3); } wrapper=w; } cout
@umarwaqas774 Жыл бұрын
include using namespace std; int main() { int n=15; int tchlt; int num[n]; for(int i=n;i>3; i++) { i=i/3; tchlt+=i; } cout
@ujjawalmishra8583 жыл бұрын
Its going complicated bhaiya...But if you will explain in simple words then it can become easy...and I know you are making efforts...
@sandeshwar74073 жыл бұрын
After buying all those 22 chocolates, I'll give it to you ma'am😉😋😍
@al-baghdadi79143 жыл бұрын
5:42 cute laugh of didi
@salahuddin13 Жыл бұрын
Time:[6:42] (Solution) #include using namespace std; int main(){ int tk,chocolates,total=0; cin>>tk; int wrappers=tk; total=tk; while (wrappers>=3) { chocolates = wrappers/3; // (14/3)=4 (6/3)=2 0 int rem= wrappers%3; //2 0 total+=(chocolates); //14 14+4=18 18+2=20 wrappers=chocolates+rem; // 4+2=6 } cout
@uditangshuchakraborty3102 Жыл бұрын
thanks
@__idyllist Жыл бұрын
Mam you have to explain a code like interpreter, concepts are well cleared by students. I TOOKS me 10 min to declare what the arr[i] and arr[j] is.
@OmkarOrgantiwar Жыл бұрын
mam are u explaining urself it is too fast u only explaing the sorting very good but when u jump into the code please go slowly
@XII-SCA-08AMANKUMARSHAW3 ай бұрын
there is lack of explanation in this video about the code but great work , just figureing out things with next video thank you
@sakshamagarwal91162 жыл бұрын
The chocolate question at the end of video was asked to me in Adobe Interview😊
@my----mind48742 жыл бұрын
Yeah I solved that puzzle. It's very intresting.
@Islamicpoint786-k3s8 ай бұрын
Who feel proud to be a part of ❤❤❤ HAZRAT MUHAMMAD SAW ❤️❤️❤️
@rutvikrana5123 жыл бұрын
Selection sort in this video ....💕 Left in Queue: - Insertion sort - Bubble sort - Merge sort - Quick sort - Heap sort - Counting sort - Radix sort - binary tree sort - and many more .....
@pranayakhand15353 жыл бұрын
You Guys are Awesome yrr ... Your Video are so much helpfull for us...keep going guys ❤️
@amansinghal46633 жыл бұрын
In the chocolates question, if your first answer was 20, then you are my best friend🙂
@relaxandsleepmusic8093 жыл бұрын
it's very simple java collection.sort(Array);
@shivangbhargava77292 жыл бұрын
microsoft wali didi aagai
@shrejalgupta95203 жыл бұрын
didi.....brain teasers are in demand... please give us more
@bishanpawar15132 жыл бұрын
when we buy 1 extra choclate for adding a wrapper then that choclate should also be counted, then at last we should have 23 choclates.
@bishanpawar15132 жыл бұрын
And in the starting of the puzzle you said that we have 15 rupees,then how can we buy 1 more choclate for that remaining wrapper.
@ujjawalmishra8583 жыл бұрын
Today I have understood Selection Sorting...Thank You Ma'am
@dharsan.s79373 жыл бұрын
this brain teaser question i saw in hackerrank algorithms questions
@_rahulsain3 жыл бұрын
it was so easy
@arslanali52093 жыл бұрын
Kindly make a lecture on list using array entirely
@ritiksahu53103 жыл бұрын
code for chocolate question int noc(int money){ int chocolate= money; int rapper = chocolate; while(rapper>=3){ chocolate+=rapper/3; rapper=rapper/3+rapper%3; } return chocolate; }
@Mohak_003 жыл бұрын
please make this understand in detail that why are you using a loop at any place and what's the reason to initialize it from a particular value
@itihaskumar35232 жыл бұрын
5:41 love this moment💕💕
@varunpurohit573 жыл бұрын
ye jo codes h bahut badiya h magar ek problem thi.... ye code likhne k baad code bhi explain kr do thoda mtlb jaise i=1 hai toh vo progression aage kaise jayega wo bta do thoda aur maza aa jayega