Watching a few of your videos and in this one it seems like you are talking as if to not wake up someone sleeping next to you. You can still hear everything clearly, but I just thought it was kinda funny. Thanks for the video :)
I think O(n) is not possible but you can optimize it to execute in O(nlog(n)) time if you use binary search instead of searching linearly. Hope that helps 😃
Greedy algorithms too give optimal solutions quite often! It is basically the most optimal solution at the current time which when done each time, turns out to be optimal for the whole problem
how u can find the time complexity...?? nd can u make a video over HOW TO PROOF THAT A GREEDY ALGORITHM ALWAYS FIND AN OPTIMAL SCHEDULE??? it's really very very urgent...plzz reply if u can...
i beg you please tell about TSP using Greedy Approach,Please explain about Hamilatrian circuit or cycle in this and also tell how to solve TSP using Nearest Neighbour Aprroach (NN approach ) and also Shortest Edge approach(SE ) and also tell how to find the weighted Adjacency Matrix and how to solve TSp please i am crying i am not understanding please tell sir please
Thanks to this I passed my exam!!!
Abe
Bahut bhadiya
Watching a few of your videos and in this one it seems like you are talking as if to not wake up someone sleeping next to you. You can still hear everything clearly, but I just thought it was kinda funny. Thanks for the video :)
so what is the difference remains between job sequencing problem and activity selection problem??
these videos are good but you should consider raising the voice either nt the mic options or when editing the video
Thank You for such videos. Hoping for many such helpful tutorials form GeeksForGeeks.
You're welcome, Vatsal. :)
More tutorials are on the way. Stay tuned.
Vatsal Mankodi kcr
Time complexity should be O(nlogn+n*T) right and SC should be O(T) and not O(n) but its written in article O(n)?
they have assumed the profit array to be sorted already ,that is why order of n
Will Greedy method work for this (profit, deadline) tuple set ? .... { (5, 1) , (33, 4), (35, 4), (37, 4) }?
I am getting time limit exceeded with this approach
Thanks a lot. I have a doubt can we allot job A in the time slot from 0-1 ?
abhishek kumar lol
What an explanation! ;)
its very cringy for me cuz i just completed dynamic p , but i thought why do a job if it can be delayed
Volume is too too low.
You People are doing an excellent job. Keep it up. If you need any help, just let me know dear.
Thanks Sayantan. Liking and sharing our videos and subscribing to our channel would really help!
would you please explain the Sort ( arr,arr+n,comparison ) function
It is the STL sort function. You can learn about it here: www.geeksforgeeks.org/sort-c-stl/
Voice is very low
This is good, but you should explain how you can be sure this is the optimal solution.
greedy is always sub-optimal
Not always. It may generate optimal as well
I love your videos but the volume is so low.
Thanks for the feedback. We'll share this with the contributor.
Greatly explained !!!
this is 2017, why cant you guys make videos in 720p ? btw these videos are awesome! to the point and human friendly
Thanks for the feedback. We will convey this and the appreciation to our contributor. :)
Can this question be done at O(n) ?
I think O(n) is not possible but you can optimize it to execute in O(nlog(n)) time if you use binary search instead of searching linearly. Hope that helps 😃
Nice explanation 👍
Thnx
please add java codes to all problems
Really great explanation :D
very clear and neat explanation
Thanks very much
Thanks Sonu :)
Thanku for nice explanation
Very inteligente Man…..muito inteligente senhor e muita qualidade muito respeito
Thanks a lot :)
i didnt get you at 2:55
The description box lol illuminati confirmed
omg yes :O
awesome explanation!!!
why is this greedy? isn't it always the optimal solution?
Greedy algorithms too give optimal solutions quite often!
It is basically the most optimal solution at the current time which when done each time, turns out to be optimal for the whole problem
Sets can help us to do it nlogn 🤔
how u can find the time complexity...?? nd can u make a video over HOW TO PROOF THAT A GREEDY ALGORITHM ALWAYS FIND AN OPTIMAL SCHEDULE??? it's really very very urgent...plzz reply if u can...
Thanks a ton
Plz include d code in C as well
i beg you please tell about TSP using Greedy Approach,Please explain about Hamilatrian circuit or cycle in this and also tell how to solve TSP using Nearest Neighbour Aprroach (NN approach ) and also Shortest Edge approach(SE ) and also tell how to find the weighted Adjacency Matrix and how to solve TSp please i am crying i am not understanding please tell sir please
Hi Achin,
We have these topics on our list and will be covering them in the coming weeks.
Shedule? ok..
I cant see the whole statement bec. Of your subtitle but thank you
SHEDULING
Thanks sir
Thanks Nitesh Hebbare :)
bhai tum khud gfg ho, kya bol rahe ho
Who are watching this in 2024
speak a bit louder
Thanks!
You're welcome Akatsuki!
all praise illuminati
hahaha hail illuminati lol