Great one ! I guess this channel is the next Khan Academy.
@markkaravan42454 жыл бұрын
This may be the best programming series I've seen online and I've seen a lot. Amazing work, William!
@itsahandle4 жыл бұрын
This channel is so underrated man, I hope more people notice your hard work and learn something from u, thanks for the video keep it up!!
@perseus15114 жыл бұрын
Hi ,thank you so much williamFiset ,with you I learn what in university teachers never gonna teach me. Greetings from Peru and thanks for the subtitles.
@mzmzgreen4 жыл бұрын
I love this! More dp please! :) Also minimax is a topic that isn't so popular in tutorials. You're a great teacher, keep up the good work!
@abhishek.rathore3 жыл бұрын
Cowtosis: The process common in cows which leads to there duplication overnight. Usually caused by overeating of fresh grass.
@thallium544 жыл бұрын
Wow I didn't realized it could be solved using dynamic programming during the contest. That's such an elegant approach! Here I would like to describe my approach which may be a bit easier to think about: The key observation is that once an original farm is full for the first time, the number of farms needed to hold all the cows would double everyday. Knowing this we could calculate the answer without tracking the number of cows. The time complexity is O(NM), so either of these two approach may be faster under different constrains.
@rithwiksrk4624 жыл бұрын
yes I did the same thing
@treyi17944 жыл бұрын
Hey, I absolutely love your content!! can you please please do an exclusive course on dynamic programming- the theory, problem-solving methods and frequently asked interview problems.
@pulgupta4 жыл бұрын
Thanks William, you have a very nice way of explaining things. Your animations are great at conveying the idea before looking into code
@kmchary11812 жыл бұрын
The absolute best series.
@sikandarbakht20764 жыл бұрын
Please make a series of dp from scratch..... Thanks
@madhukiranattivilli23213 жыл бұрын
If total number of farms with
@bhawnabharti43693 жыл бұрын
Great contents on your channel. I am big fan of your teaching style. please add some more dp problems. It is very very helpful for strugglers
@shashanktiwari44424 жыл бұрын
Awesome pls make a complete series including codeforces problems also will help a lot
@alirezakamyab8513 жыл бұрын
Nice channel, keep the dynamic programming coming
@prasannathapa1024 Жыл бұрын
Some other approaches as well #include using namespace std; #define loop(i,x,n) for(int i = x; i < n; ++i) #define inp(f,n) loop(i,0,n){cin>>f[i];} int main() { int c,n,m; cin>>c>>n>>m; int f[n], q[m]; inp(f,n); inp(q,m); loop(j,0,m){ long long ans = 0; loop(i,0,n) ans += (1LL
@puneetkumarsingh14844 жыл бұрын
An interesting variation of this problem will be like: Whenever the number of cows increases the maximum capacity, he creates a new farm for the extra cows with everything else remaining the same. It is like he is trying to maximize his efficiency of farm.
@adityamishra44584 жыл бұрын
please make competitive programming series
@oisindavey23403 жыл бұрын
Great video! I think that this can also be solved using fast matrix exponentiation in O(Q•logD•log^3C).
@runnerup154 жыл бұрын
given the problem statement i dont even really know where to begin without watching the whole video. i think im learning this out of order maybe there must be something else i need to know before jumping into questions like this
@sograb3 жыл бұрын
I was trying to find some tutorial about DP. Udemy and Pluralsight has such videos but despite they're not free, they're not as good as your videos. These visual explanations are so great. Thanks a lot! Could we support you anyhow?
@mohamedshehata897226 күн бұрын
great work man, thanks
@algorithmscasts9024 жыл бұрын
Excellent explanation, thank you.
@uXXair4 жыл бұрын
I don't get it. How are we supposed to derive such solutions? Is it just practice, practice, and practice?
@srini2010srini3 жыл бұрын
Cool explanation. Thanks.
@ialpha64314 жыл бұрын
Hi William, Could it be possible for you to add a new playlist explaining some of the good stuff from computational geometry ?
@AK-vx4dy7 ай бұрын
Maybe i'm wrong, but i think we don't need dp table to all days, but only 2 rows, if we will store the number of farms in query table and reuse rows ?
@benzhang89163 жыл бұрын
Hi are you going to illustrate some questions on LeetCode
@chenjason2598 Жыл бұрын
Awesome!
@astrallee74604 жыл бұрын
thanks !! really!!
@manngondaliya47044 жыл бұрын
Good work man 👍👍👍👍
@RedionXhepa4 жыл бұрын
Nice work !
@Red___Beast8 ай бұрын
amazing
@prabhavrajeev96824 жыл бұрын
Please make a video on manachers algorithm
@subee1287 ай бұрын
thanks
@bluejay92694 жыл бұрын
hey William, I noticed the problem vault website is down. What happened? I enjoyed using it for practice.
@WilliamFiset-videos4 жыл бұрын
Problem vault was recently turned down because of the cost of renewing the domain was going to cost an outrageous amount, and we haven't yet bothered to find a new place to host it.
@puneetkumarsingh14844 жыл бұрын
@@WilliamFiset-videos What is Problem Vault?
@lkri795127 күн бұрын
Isn't this a simple math problem, why use dynamic programming?, ceil((total cows on day 0 × day of visit × 2) ÷ max number of cows per farm)
@parthsaraswat97443 жыл бұрын
i like this intro song
@adhishmalviya24084 жыл бұрын
Videos are in 4K
@priyanka.sarkar4 жыл бұрын
Hi William, your videos are just amazing. I had one question, I tried submitting the solution in the website but I did not get all the TCs correct. Link to the submission : open.kattis.com/submissions/6501122
@ragingpahadi4 жыл бұрын
Cowmitosis 😁😁😁
@lovesegtree Жыл бұрын
your sound is small can you speak louder?
@andreamengoli46563 жыл бұрын
Cow Mitosis ahahha
@aa-xn5hc3 жыл бұрын
I dislike Kitties very much because it has got a very outdated version of C#