Book Allocation or Allocate Books Problem | DSA Series - Binary Search

  Рет қаралды 39,951

Apna College

Apna College

Күн бұрын

Пікірлер: 179
@ApnaCollegeOfficial
@ApnaCollegeOfficial Ай бұрын
We are working on Company DSA Sheet - its going to be different : it will mention companies that asked respective DSA questions. Ex: Book Allocation Problem -- asked by Google
@mdsohanurrahmanhridoy1343
@mdsohanurrahmanhridoy1343 Ай бұрын
@rootmemer
@rootmemer Ай бұрын
Maam in the dsa sheet plz make a section company asked put the name of that company plz it will help us bec in leetcode it is paid.
@PrashChandra71
@PrashChandra71 Ай бұрын
Marked as Done Today Lecture & Assignment ❤
@crunch959
@crunch959 Ай бұрын
di please suggest me what should i do i am in tier 3 college nd just come in 3rd year i know html css nd basic knowledge of c++ nd continuing with js plz plz plz give me suggesion ( roadmap )
@metrocitydelhi5498
@metrocitydelhi5498 Ай бұрын
Done thank you ma'am😊
@abhijitrajkumar2406
@abhijitrajkumar2406 Ай бұрын
Thank you, ma'am! When I first started this DSA series, I was really struggling to figure out how to begin with data structures and algorithms (DSA). But this series made everything so much easier to understand. It broke down the concepts into simple steps and helped me build confidence in solving problems. Now, I feel more comfortable with DSA, and I'm excited to keep improving!
@mahimagarwal1736
@mahimagarwal1736 2 күн бұрын
bro are you able to solve other questions too with any tutorials?
@AllPhotos-b9h
@AllPhotos-b9h Ай бұрын
21 days have passed since I joined this channel. I always look forward to your next video. Thank you, Di, your explanations are amazing.
@Mayank_Dub3y
@Mayank_Dub3y Ай бұрын
6 Million subscribers have completed 🎉🎉🎉🎉❤
@varunchoudhary8797
@varunchoudhary8797 Ай бұрын
Yes 👍
@Mhshivbhaktff
@Mhshivbhaktff Ай бұрын
Best coding 🧑‍💻🧑‍💻🧑‍💻🧑‍💻 platform in the world 🌎🌍🌍🌍🌍
@varunchoudhary8797
@varunchoudhary8797 Ай бұрын
Yes u r right 🥳
@Processer806
@Processer806 Ай бұрын
Hi mam I am MK One of your students from Afghanistan 🇦🇫 Wish you more success in your life❤❤
@DOWN3X_FF
@DOWN3X_FF Ай бұрын
Tujhe hindi aati hai kya
@Processer806
@Processer806 Ай бұрын
@@DOWN3X_FF Ha aati hai. Kew pocha ??? 🤔
@shreyashjain7362
@shreyashjain7362 18 күн бұрын
​@@Processer806Kyoki saari videos Hindi me hai so how are you able to understand every bit easily in a language that isn't your mother tongue
@NavneetKaur-n2b
@NavneetKaur-n2b 10 күн бұрын
For the second array {15 , 17 , 20} the n should be 3 instead of 4 because it is giving garbage value for n=4 because array contain only 3 elements not 4.
@MohdZiyan379
@MohdZiyan379 Ай бұрын
This series is going to be amazing 🔥 for future 🚀 students and also for us.
@nabin-x4f
@nabin-x4f Ай бұрын
Completed on October 5 2024, 10:09:00pm. And congratulations ma'am for completing 6 million subscribers❤❤🎉🎉.
@DHEERAJ_R
@DHEERAJ_R Ай бұрын
Congratulations 6M 🎉🌟
@devvora08
@devvora08 Ай бұрын
You run the 2nd example with n=4, but array includes only pages of 3 books. Yet you got 32 as answer. Something is wrong
@PrinceKumar-u4k1m
@PrinceKumar-u4k1m Ай бұрын
TRUE....
@hello_1212
@hello_1212 14 күн бұрын
bro 4th book ke pages automatically equal to garbage value ho jayenge and garbage value zero hogi , so ans 32 is right
@nainarani1984
@nainarani1984 8 күн бұрын
Ha Sayed
@kushagrakatare
@kushagrakatare Ай бұрын
29:42 line 13? Ma'am there should be one more simultaneous condition on line 13 if statement i.e. i
@User-b5n3y
@User-b5n3y Ай бұрын
m v whi sochra tha bhai
@SurgeAheadacademy
@SurgeAheadacademy Ай бұрын
Awesome thought. Together, our knowledge can help so many students.
@Abhi_Singh-_-4
@Abhi_Singh-_-4 Ай бұрын
Lecture completed Day21✅. Thank you ma'am
@Ironman-z2t
@Ironman-z2t Ай бұрын
Lecture 21 is completed. Thanks❤mam.
@sajanparmar7068
@sajanparmar7068 Ай бұрын
Congratulations, 6M🎉🎊✨
@austinvarshney5007
@austinvarshney5007 Ай бұрын
Lecture 21 Completed!🔥 Date: 05/10/2024
@mdsohanurrahmanhridoy1343
@mdsohanurrahmanhridoy1343 Ай бұрын
Completed❤ DONE!
@Rajakumar29sep
@Rajakumar29sep Ай бұрын
Thankyou ✨ Completed ✨
@SagarMaheshwariS
@SagarMaheshwariS Ай бұрын
Day 21 completed ✅
@rohit--709
@rohit--709 Ай бұрын
❤ mind blowing class mam
@CodeNinja18
@CodeNinja18 Ай бұрын
Congrats for 6M
@adityasingh3365
@adityasingh3365 Ай бұрын
Completed Lecture; Thankyou Mam;
@H2xPRINCE
@H2xPRINCE Ай бұрын
Best Video of series
@trankie70144
@trankie70144 Ай бұрын
Similar question on leetcode: 1011
@3Dartstudio-b5f
@3Dartstudio-b5f 4 күн бұрын
mam aapka editor cut lagane me to expert hai n=3 aana chayiye aur n = 4 likh rakha hai usme bhi program run kar raha hai to kya chakkar hai
@tanishqvishwakarma9518
@tanishqvishwakarma9518 Ай бұрын
Done 👍 Thank you did 😊
@Code_with_Raju
@Code_with_Raju Ай бұрын
Congratulations for 6M 🎉❤
@himanshusingh-j7r
@himanshusingh-j7r Ай бұрын
Date :- 05-10-2024. Lecture 21 Complete. DONE
@ashmitashreenidhi9421
@ashmitashreenidhi9421 19 күн бұрын
super madamji you done greate jos🥰🥰🥰🥰🥰🥰
@abhinavagnihotri1918
@abhinavagnihotri1918 Ай бұрын
Completed❤
@phanindra_69
@phanindra_69 Ай бұрын
Completed mam 👍
@NaseebCodeStudio
@NaseebCodeStudio Ай бұрын
Happy teachers day❤️🌹
@Shaswat_Shrivas
@Shaswat_Shrivas Ай бұрын
Day 21 Completed!
@CODIVATION39
@CODIVATION39 Ай бұрын
Kon kon chahta hai ki videos thodi jaldi aaye😃
@fscubetech7219
@fscubetech7219 Ай бұрын
The great content 👍
@srikanth486
@srikanth486 Ай бұрын
Congratulations mam 6m
@DIBYENDU_MALLICK
@DIBYENDU_MALLICK Ай бұрын
Complete ✔️
@koyelmahato7655
@koyelmahato7655 Ай бұрын
Thank you so much
@next_level-2.
@next_level-2. Ай бұрын
time 31:19 per n = 3 hoga or mam ne 4 likh rakha hai fir bhi 32 sahi ans aa raha hai 🤔
@SOFTWARE__ENGINEERS
@SOFTWARE__ENGINEERS Ай бұрын
Done Thank you ma'am 😊
@azharalibhutto1209
@azharalibhutto1209 Ай бұрын
❤❤❤❤❤❤❤❤❤❤ thank you for DSA
@sachindasture2956
@sachindasture2956 Ай бұрын
Thank you Didi 👍🏻
@girdharisinghyadav
@girdharisinghyadav Ай бұрын
11/10/2024 I complete this lecture thanks shradha Didi ❤❤❤❤❤❤
@Imortexm
@Imortexm Ай бұрын
Thanks mam
@MANISHSINGH-qj5iu
@MANISHSINGH-qj5iu Ай бұрын
lecture completed😇
@PrateekMishra-rd4vc
@PrateekMishra-rd4vc Ай бұрын
Thank didi
@shwetakumari1002
@shwetakumari1002 23 күн бұрын
lecture 21 completed on 1st nov
@Uzumakinarutoo860
@Uzumakinarutoo860 Ай бұрын
thank you mam........... completed
@AkashYadav-rn5zg
@AkashYadav-rn5zg Ай бұрын
COMPLETED
@devangjadhav8601
@devangjadhav8601 27 күн бұрын
lecture 21 completed on 28/10/2024.
@Shortedit-o5f
@Shortedit-o5f Ай бұрын
Completed!
@arishkhan3880
@arishkhan3880 Ай бұрын
Thank you
@abhinavagnihotri1918
@abhinavagnihotri1918 Ай бұрын
Ma'am please provide pdf notes of every video..🙏🙏
@papupasshoogaya.8528
@papupasshoogaya.8528 Ай бұрын
Microsoft mi 43 lakh reject kiya? Salute to u mam.
@निखिलगर्कळ
@निखिलगर्कळ Ай бұрын
How can maxallowedpages< mid,since we are finding out minimum of maximum pages can be allotted to a student?
@asnighoshdastider1971
@asnighoshdastider1971 Ай бұрын
Completed!!!!
@RayanKhan-pc8lh
@RayanKhan-pc8lh Ай бұрын
Complete 🎉🎉
@ujjwalsharma5663
@ujjwalsharma5663 Ай бұрын
Didi I think the homework you gave, in which ans=32 is not correct because st=31 & end=31 so their mid is also 31 and as per the code and should be equal to 31.
@30_KamalnathDhekwar
@30_KamalnathDhekwar 15 күн бұрын
Broh.... for 31 ... you will required 3 students ... think it.... lets check ... s1 = 15... now you cant allocate 17 to s1 as its sum is 32 > 31 now s2 = 17 again you cant allocate 20 to s2 .. its sum is 37 > 31 so you will need one more student s3 ... here condition is false....
@mannusodha6729
@mannusodha6729 Ай бұрын
Thanks ❤
@Technicalamit1246
@Technicalamit1246 Ай бұрын
Future me konsi language work kare gi
@arihantjain-2005
@arihantjain-2005 Ай бұрын
Ma'am Linux par one video please 🙏🙏
@AbhishekYadav-gc6ch
@AbhishekYadav-gc6ch Ай бұрын
Humko o level krna hai please aap koi class chla dijiye
@sora_yt.1
@sora_yt.1 Ай бұрын
Completed Lecture 21 | 13th Oct 2024
@RAMRATAN-i9z
@RAMRATAN-i9z 14 күн бұрын
Lecture 21 completed on 9 November 24
@gatplace2738
@gatplace2738 Ай бұрын
Thank you
@AkankshaPawar-p7g
@AkankshaPawar-p7g Ай бұрын
Completed on 07-10-24👍
@pratikpant3592
@pratikpant3592 Ай бұрын
Great video
@NithishGowda-f6p
@NithishGowda-f6p Ай бұрын
Ma'am how to take array input from the user and check weather the inputs are stings or not
@vishnuvardhan2687
@vishnuvardhan2687 Ай бұрын
Successfully completed ✅ Day 21 lecture thank you shradha maam for your valuable lectures and guidance to us 😊😊😊 05/10/2024
@Demon-s8b
@Demon-s8b Ай бұрын
5 October 2024 Lecture Completed
@India_great
@India_great Ай бұрын
Hello didi please make video on how to run Google ads in website and host it in server
@proCoderShivam
@proCoderShivam Ай бұрын
#BookAllocationProblem Done!
@earthlinkdesignersedtech3531
@earthlinkdesignersedtech3531 Ай бұрын
Day 21 completed ✅, but the same solution is giving runtime error tried several times! Anyone with the same problem or successfully passed all test cases on GFG pls help me...
@vishnukonka2333
@vishnukonka2333 Ай бұрын
Can you please start a course of Python+DSA
@livelifeforever69
@livelifeforever69 Ай бұрын
Mam I want to understand DSA, I see all the topics but I am not able to understand it clearly. How should I understand DSA Mam.
@SatyaPrakash-sh1mw
@SatyaPrakash-sh1mw Ай бұрын
if mid in invalid then its identify that that to check on left side or right side
@anishalam9648
@anishalam9648 Ай бұрын
done dona done london mam bhot bhot shukriya mam....
@NishantMishra-yv4gt
@NishantMishra-yv4gt Ай бұрын
Completed
@Kingshukdash-r6y
@Kingshukdash-r6y 10 күн бұрын
This code is not accepted on gfg, what should i do?
@anushkalondhe1928
@anushkalondhe1928 Ай бұрын
Ma'am I'm having one year gap in engineering..... What should I do? Please guide
@sushmabartaula5857
@sushmabartaula5857 Ай бұрын
I just enrolled in BCA classes. My classes take place in the morning from 6:00 to 10:40. I know nothing about which coding language to learn and what to do next. I am not so great with mathematics. Can you please guide me. It would be great help. Thank you.
@PrinceKumar-u4k1m
@PrinceKumar-u4k1m Ай бұрын
You can start with any programming language as you want...
@krishnakumar-iz4xh
@krishnakumar-iz4xh 14 күн бұрын
day 21 lecture 21 completed
@komalkaushal2695
@komalkaushal2695 Ай бұрын
🎉🎉completed
@BgmiGamingiQoo
@BgmiGamingiQoo Ай бұрын
So good looking 💖
@sadafbhanu814
@sadafbhanu814 Ай бұрын
Mam last two lectures of this series is unavailable... How can i get it..?
@debojitmandal8670
@debojitmandal8670 Ай бұрын
The minimum should be 4 or max of the array y did u choose zero
@sandeepeditor8656
@sandeepeditor8656 Ай бұрын
@ApnaCollegeOffical mam when new delta batch getting start
@BroCode-u7f
@BroCode-u7f Ай бұрын
lecture complete
@codestacks09
@codestacks09 Ай бұрын
done today because of mid sem
@rabbitlover7656
@rabbitlover7656 Ай бұрын
Why do most universities or institutes start learning Java programming language instead of C++, especially in India and Saudi Arabia? I mean, on the first day in college or institute, they start teaching Java without teaching C++ before it, knowing that students are supposed to study C++ and then start teaching them any language they want, whether Java or another. Why do Indians and Saudis use Java extensively? I mean, most of their programmers are proficient in Java, regardless of whether they use it or not, but they teach us even if they don't use it? I mean, is there a secret in Java that we don't know yet, and why are its users more numerous than C++?
@RishitSrivastava007
@RishitSrivastava007 Ай бұрын
Its easier and more intuitive to use than pointers
@hey__AJ
@hey__AJ Ай бұрын
complete that was quite hard
@sonalisinha-e3m
@sonalisinha-e3m Ай бұрын
Done!
@cooldude239
@cooldude239 Ай бұрын
Attendance✅✅✅✅
@Soumyadeep_Chakraborty1
@Soumyadeep_Chakraborty1 Ай бұрын
Day 21 ✅
@Goldy-w3z
@Goldy-w3z Ай бұрын
8/10/2024 lecture Completed
@VishalSingh-hi6rh
@VishalSingh-hi6rh Ай бұрын
completed
@khushigupta6169
@khushigupta6169 Ай бұрын
Done 👍👍
@southmacha4305
@southmacha4305 Ай бұрын
Lec done Oct 6
@Sunnychaudhary5609
@Sunnychaudhary5609 Ай бұрын
done mam
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 13 МЛН
Do you love Blackpink?🖤🩷
00:23
Karina
Рет қаралды 12 МЛН
Solve Any Pattern Question With This Trick!
57:20
Kunal Kushwaha
Рет қаралды 2,5 МЛН
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 736 М.
Web Development Complete RoadMap for 2025 | from Basics to Advanced
22:00
BS-18. Allocate Books or Book Allocation | Hard Binary Search
27:29
take U forward
Рет қаралды 183 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 13 МЛН