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

preview_player
Показать описание


Time Stamps :
00:00 Introduction
00:30 Question
02:53 Approach
14:45 Pseudocode for Binary Search
16:23 How to check mid valid or not?
25:28 Code
31:31 Homework

Shradha Ma'am community
Рекомендации по теме
Комментарии
Автор

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

ApnaCollegeOfficial
Автор

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!

abhijitrajkumar
Автор

Best coding 🧑‍💻🧑‍💻🧑‍💻🧑‍💻 platform in the world 🌎🌍🌍🌍🌍

tuneheven
Автор

21 days have passed since I joined this channel. I always look forward to your next video. Thank you, Di, your explanations are amazing.

AllPhotos-bh
Автор

6 Million subscribers have completed 🎉🎉🎉🎉❤

Mayank_Duby
Автор

time 31:19 per n = 3 hoga or mam ne 4 likh rakha hai fir bhi 32 sahi ans aa raha hai 🤔

next_level-.
Автор

Tried on jan 10th
but couldn't understand so thought to do later.
Completed on Jan 11th .
Now, understood and written notes clearly.
Also attempted in vs code

BUNNY-yhwg
Автор

Hi mam
I am MK
One of your students from Afghanistan 🇦🇫
Wish you more success in your life❤❤

Processer
Автор

this channel provided a premium playlist !!

ShivamVermaokdone
Автор

One of the greatest tutor in entire world

UpdatedAbhi-ixkc
Автор

Completed on October 5 2024, 10:09:00pm. And congratulations ma'am for completing 6 million subscribers❤❤🎉🎉.

nabin-xf
Автор

Awesome thought. Together, our knowledge can help so many students.

SurgeAheadacademy
Автор

29:42 line 13?
Ma'am there should be one more simultaneous condition on line 13 if statement i.e. i <= n-m. It is because the allocation would go on otherwise if starting number of pages and less and the condition given would be violated, i.e everyone should get atleast one book. If not checked this condition then it is possible that some student are left with no books. Please reply ma'am😊

kushagrakatare
Автор

completed this lecture on 01 Feb 2025 at 11:14 pm. felt this problem was challenging but will not give up till the end of this course. hope i will maintain this consistency.

ayushvyas
Автор

This series is going to be amazing 🔥 for future 🚀 students and also for us.

MohdZiyan
Автор

Lecture completed Day21✅. Thank you ma'am

Abhi_Singh-_-
Автор

ee particular concept ratta marna jaisaa hai .
condition every student shd get book...
but assuming min pages =
literally not everyone can break the condition and think lke this!!

prajwalk
Автор

dii this question is really different but because of you I could solved it ...

janhaviitankar