David J. Malan is one of the GREATEST professors u may see throughout ur whole life !
@helloimran9 жыл бұрын
+Eslam Mohamed agreed!
@kunalcs50797 жыл бұрын
Agree
@diwangislucky6 жыл бұрын
Yes. There are a lot of great profs out there though, like Marvin Minsky, Andrew Appel, Manuel Blum, Peter Ramadge, Richard Murray, etc.
@fritzhopper51456 жыл бұрын
Yeah, his cs50 makes me fall in love with computer science.
@29rohitkr5 жыл бұрын
@@fritzhopper5145 yes bro. Loved it
@alfredolinguine59079 жыл бұрын
great now I can count how many people are in a room
@NightcoreLabOfficial8 жыл бұрын
+Joseph Spagnolo Yes me too !
@geoshsystem88408 жыл бұрын
lol
@אופיר-פ4ס8 жыл бұрын
lol
@stevesatterwhite51417 жыл бұрын
Inex Alpha a
@w.pattama.13777 жыл бұрын
Cool
@thedarkinone8 жыл бұрын
my school uses your videos to teach us and as notes :) that's how good you are
@archimagirus278 жыл бұрын
this is a company ya dum dum
@feelsokayman39597 жыл бұрын
tbh it's not that hard to explain something better than your average highschool teacher
@moocow37806 жыл бұрын
Technically they are a nonprofit organization the difference is companies are created with the goal of creating profit and organization are created with the main function of doing something for humanity/animals/or something else.
@Animakozak6 жыл бұрын
Well, he's a Harvard professor, after all.
@zygmuntthecacaokakistocrat65896 жыл бұрын
It's not hard to make your average person understand better than the average highschool student, what, with all those hormones fogging your brain and everything.
@olashoretijesunimi60392 жыл бұрын
Wow...Wow... This is one of the simplest and easy to watch videos I have watched on Algorithms. It passed the understanding of algorithms so clearly and the animations also helped to understand it greatly... Thanks so much for this video!
@Grassmpl Жыл бұрын
Simple is good if it was correct. The counting by pairs algorithms in incorrect. The concept of a "pair" is misused. Eg. For 3 people there are 3 pairs. For n people, n choose 2 pairs. Thus algorithm actually grossly undercounts.
@nsadegcmlf2116 Жыл бұрын
@@Grassmpl😂🤣🤣🤣🤣🤣🤣🤣🤣🤣
@ProgrammerPenguin Жыл бұрын
then you may like the free online courses he still teaches called cs50
@tbuzz77534 жыл бұрын
Love David Malan, his teaching method is so easy to follow!
@Grassmpl Жыл бұрын
Except it's misleading. The counting by pairs algorithms in incorrect. The concept of a "pair" is misused. Eg. For 3 people there are 3 pairs. For n people, n choose 2 pairs. Thus algorithm actually grossly overcounts.
@nsadegcmlf2116 Жыл бұрын
@@Grassmpl🤣😂😂😂😂😂😂😂😂
@shreydixit26906 жыл бұрын
And this is CS50
@armstrongtixid68734 жыл бұрын
Yup.
@Lucky69K2 ай бұрын
Counter strike 50?😂 Ig you didn't meant that
@ezx_005 жыл бұрын
NB: The word 'algorithm' has its roots in Latinizing the name of Muhammad ibn Musa al-Khwarizmi in a first step to algorismus. He was a Persian mathematician, astronomer, geographer, and scholar in the House of Wisdom in Baghdad, whose name means 'the native of Khwarazm', a region that was part of Greater Iran and is now in Uzbekistan. About 825, al-Khwarizmi wrote an Arabic language treatise on the Hindu-Arabic numeral system, which was translated into Latin during the 12th century under the title Algoritmi de numero Indorum. This title means "Algoritmi on the numbers of the Indians", where "Algoritmi" was the translator's Latinization of Al-Khwarizmi's name.[15] Al-Khwarizmi was the most widely read mathematician in Europe in the late Middle Ages, primarily through another of his books, the Algebra.[16] In late medieval Latin, algorismus, English 'algorism', the corruption of his name, simply meant the "decimal number system". In the 15th century, under the influence of the Greek word ἀριθμός 'number' (cf. 'arithmetic'), the Latin word was altered to algorithmus, and the corresponding English term 'algorithm' is first attested in the 17th century; the modern sense was introduced in the 19th century
@GAROmx4 жыл бұрын
This comes extra handy now that we have the COVID-19 when everyone is home schooled
@siphonnn16394 жыл бұрын
Kaydience Pugh no
@amanhussain6044 жыл бұрын
SHUSHhhH
@siphonnn16394 жыл бұрын
Aman Hussain didn’t ask
@gabamarino29064 жыл бұрын
I see how you used the word handy
@OCDTraci10 жыл бұрын
My "understanding" of algorithms was very muddled until I happened on this video. Thank you so very much.
@TranNguyen-mv6ln3 жыл бұрын
Congratulation
@fredcode896 жыл бұрын
thank you prof david, you made me learn programming and really getting in depth of what programming is all about
@zac19767 жыл бұрын
Muḥammad ibn Mūsā al-Khwārizmī[note 1] (Arabic: محمد بن موسى الخوارزمی; c. 780 - c. 850), formerly Latinized as Algoritmi,[note 2] was a Persian[3][4] scholar in the House of Wisdom in Baghdad who produced works in mathematics, astronomy, and geography during the Abbasid Caliphate. In the 12th century, Latin translations of his work on the Indian numerals introduced the decimal positional number system to the Western world.[5] Al-Khwārizmī's The Compendious Book on Calculation by Completion and Balancing presented the first systematic solution of linear and quadratic equations in Arabic. Because he is the first to teach algebra as an independent discipline and introduced the methods of "reduction" and "balancing" (the transposition of subtracted terms to the other side of an equation, that is, the cancellation of like terms on opposite sides of the equation), he has been described as the father[6][7][8] or founder[9][10] of algebra. He revised Ptolemy's Geography and wrote on astronomy and astrology. Some words reflect the importance of al-Khwārizmī's contributions to mathematics. "Algebra" is derived from al-jabr, one of the two operations he used to solve quadratic equations. Algorism and algorithm stem from Algoritmi, the Latin form of his name.[11] His name is also the origin of (Spanish) guarismo[12] and of (Portuguese) algarismo, both meaning digit.
@Alusnovalotus4 жыл бұрын
Zac eagle the more you know
@khalidelangouri9634 жыл бұрын
So cool
@leeled80244 жыл бұрын
Thank you for providing additional knowledge. Now I have to do more research on Al Kwarizmi and his works too,coz I'm in need of a headache!🥰
@siphonnn16394 жыл бұрын
didn’t reas
@zaylanseals32126 жыл бұрын
Thank you sooo much I’m going to start getting a BS in the fall of 2020 and I hear everyone saying algorithms are hard but watching you make it look basic just makes me feel a lot more confident to take on Computer science
@giztherapper77082 жыл бұрын
@Ali Raza 😂
@7sneves Жыл бұрын
@@giztherapper7708violation😂
@7sneves Жыл бұрын
How are you fairing on?
@kareemalarefi7817 Жыл бұрын
@@7sneves bro must have quit life after seeing that algorithms weren’t just to count the number of people in a room
@g-whittington Жыл бұрын
It’s been 5 years…🎉
@Atomos_tech2 жыл бұрын
I really like the way you create your content, the animation and the simplicity it makes the content easy to consume and interesting
@henrybachman98986 жыл бұрын
I love how these videos are short and still better than a lot of longer videos about the same subject out there.
@Grassmpl Жыл бұрын
The longer videos are more accurate. The counting by pairs algorithms in incorrect. The concept of a "pair" is misused. Eg. For 3 people there are 3 pairs. For n people, n choose 2 pairs. Thus algorithm actually grossly overcounts.
@nsadegcmlf2116 Жыл бұрын
@@Grassmpl😂🤣🤣🤣🤣🤣🤣🤣🤣🤣アルゴリズムだ❗規則正しく同じ言葉を繰り返している❗
@Grassmpl Жыл бұрын
@@nsadegcmlf2116 私は日本語が話せません、英語を使う必要があります
@burt5919 жыл бұрын
but in order to know if there is a pair the program has to count one by one, so how is faster the second algorithm than the first?
@wertyuiop2219 жыл бұрын
You count a pair. A pair. 1 pair.
@trioct9 жыл бұрын
+Murariu Ciprian A computer could only know it's a pair by counting each person in the pair. Our brain does this for us so we don't have to count that there are two people in the pair.
@veryvery309 жыл бұрын
Read the last comment from me, you're right.
@savagenative9595 жыл бұрын
Thats what we call a catch 22
@hung8045 жыл бұрын
@@Ferrolune counting eyes is obvious, we told the computer to count the number of people and multiply by two. (btw this doesn't work if there is a pirate in the room). But there aren't any magic labels that group every 2 persons into a pair. We have to count each individual person to know.
@nilanjanmukhopadhyay83694 жыл бұрын
I watched the video earlier. And today I am at the very end of finishing CS50. When I watched this video I didn't know who David J. Malan is. But now I know he is my favorite teacher of all time. Love for David and CS50. ❤️❤️❤️❤️❤️❤️ And thanks to the KZbin algorithm for bringing me back to the video.
@dackgibson35056 жыл бұрын
3:30 That one third wheel.
@safiasajida81542 жыл бұрын
David J. Malan is one of the GREATEST professors u may see throughot whole life !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@abdulrehman-xw3jo3 жыл бұрын
The word "algorithm" comes from 8th century *Muslim mathematician, Al Khwarizmi.* he is the inventor of algorithm.
@suvamjitmishra75976 ай бұрын
No man he borrowed from India's mathematics.
@abdulrehman-xw3jo6 ай бұрын
@@suvamjitmishra7597 Yes, he borrowed numbers 0-9, but not the process, algorithm itself is a process we are talking about. just like algebra.
@yashakadarkknight28727 жыл бұрын
Anything having David Malan involved in it will always be the best
@syedamahwishalizaidi11493 жыл бұрын
brain : what are u doing me : trying to study brain : why me : to be success full in my life brain: then why are you learning to count people in a room
@michaelng18693 жыл бұрын
😄 feels like time waisting activity
@m05n_3 жыл бұрын
same bro
@meanshape101 Жыл бұрын
Gotta love the people in this animation and the way he teaches.
@HeyDevz11 жыл бұрын
They actually changed the title now to the better "What is an algorithm?" I think it's previous title was how the human body could perform algorithms or something like that. Hope this sheds light on things.
@ClickbaiterZ3 жыл бұрын
Woah, ancient comment
@AmazeWebs10 жыл бұрын
@David Lim, It's a set of procedural steps and conditions that allow a condition to turn from unresolved to resolved. It's a map pointing to treasure, It's a method developed to form the same solution under any condition of the parameter.
@EverlastingLuigi8 жыл бұрын
I came here because I was bored but it ended up helping me understand MATLAB a little better for school
@IzayoiMeiHigu7 жыл бұрын
Emilio Couchee school?
@HarshSharma-jd4cc5 жыл бұрын
MATLAB means "means" U know hindi ?
@humanbeing14295 жыл бұрын
In Hindi, the word "matlab" means "MEANS" 😎😎😎
@indrajitsinhchudasama7393 жыл бұрын
Guys the matlab like in a library for python!
@xynyde02 жыл бұрын
@@indrajitsinhchudasama739 matlab is a language not a library
@hilarryhenry3 жыл бұрын
THEY WAY HE EXPLAIN STUFF IS JUST AMAZING
@ChellePayne19769 жыл бұрын
Great video, going to show this to my students as an overview to algorithms. Thanks :)
@TrevorMacedo2 ай бұрын
This is by far the best explanation I’ve seen!
@ahmedabubakar79722 жыл бұрын
This has to be the simplest, well-explained, and fun tutrorial I've come across😂
@Grassmpl Жыл бұрын
Yes. Now it needs to be **accurate** The counting by pairs algorithms in incorrect. The concept of a "pair" is misused. Eg. For 3 people there are 3 pairs. For n people, n choose 2 pairs. Thus algorithm actually grossly overcounts.
@ProgrammerPenguin Жыл бұрын
you may like the free online courses he still teaches called cs50
@jamesbedukodjograham55083 жыл бұрын
Thank you Dr David Malan for making this Computer Video for all of us to use.
@Atrainn2342 жыл бұрын
David.j.malan, so good with his explanations, I'm taking his cs50 course right now, and I can say he is the best professor ever!
@alishbaramzan77342 жыл бұрын
ikr🥺
@ennylee9381 Жыл бұрын
This video is the best video I have watched on algorithms. Very understandable.
@abhayh9248 жыл бұрын
1. Set yourself to watch this video 2. If you liked it, press the Like button
@rna60705 жыл бұрын
Guys, please keep uploading more such content. It really helps people like me find answers to our problems.
@harshalgajjar10 жыл бұрын
That 8bit tune was awesome! :D
@nottomention4 жыл бұрын
Always love to hear your lectures whether it’s on ocw or anywhere else!
@ayaanmishra75204 жыл бұрын
Thank you 🙏 now I understood algorithm easily and never forget it in my life
@guiltyguildleader11 жыл бұрын
That depends on the language and the context its used in. Some languages have the = operator as assignment operators, some have = as comparation operator,and others may have both and the context decides how it is interpreted
@brianmeehan94408 жыл бұрын
I know Dave from CS50!
@tundesanusi5722 жыл бұрын
This is fantastic and I love the way the animation simplifies this!
@halfnwhole7516 жыл бұрын
Imagine sorting algorithms being personified and Gravity sort just does magic tricks
@nanamacapagal83424 жыл бұрын
Wait till you see Counting Sort and Pigeonhole Sort
@Kieliah11 жыл бұрын
Well in cubing (Solving a rubik's cube) algorithms are a series of face turns that permutes and/or orients a specific (set of) pieces.
@Supernova-2177 жыл бұрын
Oh Gosh! This is the video by the guy who teaches CS50!! Amazing teacher!
@user-vb2jr4vh6d2 жыл бұрын
This dude has such a relaxing voice to listen to
@luckingk25378 жыл бұрын
After learning some python, this video became easy stuff.
@p_null7 жыл бұрын
you learned stuff about a snake?
@iammsatrio19515 жыл бұрын
I learn R
@victorlotz34575 жыл бұрын
Did you seriously need to learn python to learn how to count?
@iman20205 жыл бұрын
Same here
@aaronkhoo53484 жыл бұрын
High five bro
@alvinkatojr10 жыл бұрын
Malan really is an amazing teacher! You can't but love CS after listening to this guy teach!
@jindra123810 жыл бұрын
N = 0; foreach (dozen people in room) {N += 12}if (N != 0) {N = N + N%12}; how about this?
@420praiseit29 жыл бұрын
Tomáš Fuk Here it is in the programming language ruby, it works (: def count(people) n = 0 loop do if people >= 12 people -= 12 n += 12 elsif n != 0 people -= n % 12 n += people % 12 end break if people == 0 end puts n end people = gets.chomp.to_i count(people)
@jindra12389 жыл бұрын
crestfallenllama Really interesting :) Personally, I've never used Ruby, but being C# person myself, I always found it really confusing when you don't use braces for your code.. But if you like it, more power to you! Where did you learn it?
@420praiseit29 жыл бұрын
Tomáš Fuk In Ruby I think it's faster to write code, and get something done at least it's easier to understand while looking at it, so as a starting language it's perfect, and for smaller programs like this it's perfect, but the speed is not the best and I think the c languages is more optimal when making larger things like games. I started learning it at codeacademy, but after that I thought to myself: "What can I actually do in Ruby?", and then I took all the lessons from Rubymonk, these are more advanced and I learned a ton. I wanted to learn Ruby because rpg maker vx ace uses that language. After I'm done with my game there I will probably try unity, I'm already beginning to learn c++.
@bingbonghafu7 жыл бұрын
you don need each
@Multibe1506 жыл бұрын
I'm years late, but you can check if N!=0 just by writing *if N*, because 0 equals false, so it will return true in every other case
@kahanbhalani36074 жыл бұрын
Amazing! Sir David J. Malan.
@mihaelzubak73216 жыл бұрын
This really helped me cause I was sick the day we learned this so thanks.
@ritujoseph29243 жыл бұрын
Same thing happened here 😁😁
@intersuccessive Жыл бұрын
Very intuirivie, creative and simple way to explain things. Just awesome!
@Stranger--5 жыл бұрын
That's literally introduction to programming
@MultiPaulinator11 жыл бұрын
In programming, "=" isn't a conditional operator; it's an assignment operator. Think of lines of program code as the programmer telling the computer, "Okay, this statement you're about to read isn't true and I need you to make it true." The computer then evaluates the expression on the left side of the "=" and assigns the result to the variable on the left. "N=N+1" means "take the current value of "N", add 1 to it and reassign the new value to "N".
@lauren7108 жыл бұрын
Very helpful, thank you!
@shwindle2 жыл бұрын
What makes it great is David himself explains it !!✨
@speedrocks29 жыл бұрын
if you use a for loop for this, you would have to know how many people are in the room to begin with. Maybe this should say "while a person is uncounted"?
Your analogy just blew my mind. Thank you very much for that.
@comb5284918 жыл бұрын
Thank you for developing this, Mohammed ibn Musa al-Khwarizmi, aka Algoritmi.
@brownpeoplegetup12438 жыл бұрын
Algebra, Alchemy. it's good to remember who made these contributions to the world~
@yuval65087 жыл бұрын
oh fuck off
@peek_yew93697 жыл бұрын
i can't tell if you consumed salt, or if salt consumed you
@kavehramzanzad7 жыл бұрын
you forgot to mention his nationality .. by the way he was persian(iranian) and trough history iranian always been educated and smart . no matter what he believes because we aren't into his mind .. i am iranian as well but you arab muslim no nothing but lowing your self up and killing innocents that is your religion
@Masardirasa6 жыл бұрын
Yes my brother our scientist 😍😍 Mohamed abo jaafar khawarizmi thank you inchallah the janaa
@MLP5751 Жыл бұрын
An algorithm is a set of mechanical steps that always terminates and always gives us all the right answers and no wrong answers to a question.
@carltonseymour8697 жыл бұрын
Have been trying to learn coding since a year. This 4 and a half minute video has helped me understand coding. I am excited to get back to learning. Thank You David
@capitaldd36932 жыл бұрын
How did you translate this video into coding......?
@ProgrammerPenguin Жыл бұрын
you may like the free online courses he still teaches called cs50
@tundesanusi5722 жыл бұрын
This is fantastic and I love the way the animation simplifies algorithm!
@AristeeSV9 жыл бұрын
A recommander à tout étudiant en BTS SIO informatique !
@cactusjack22644 жыл бұрын
Excellently explained!
@lordhammad3 жыл бұрын
I took a Computer Science course taught by the narrator, a HarvardX course. He's a great teacher
@TheTucor Жыл бұрын
Great Professor David J. Malon, thank you for the well explanation. You are Feynman of Computer Science..... I am Student @ SE ALx, one day I will be like you.
@sandhyabhosale63283 жыл бұрын
This algorithm is wrong,John Cena is sleeping on the bed but he isn't counted
@narayansivajiramos9993 жыл бұрын
Thanks for revealing to me what I already knew, namely, that I am still as clueless to what an algorithm is as I was before I watched this video. Sincerely, N
@JacksonMerg10 жыл бұрын
or you can skip the algorithem and say: n=amount of people in room
@oreki19965 жыл бұрын
what if the number of people is dynamic
@bscorvin5 жыл бұрын
Same energy as if(goingToCrashIntoEavhOther) { dont( ) ; }
@AxeAR5 жыл бұрын
Now _this_ is efficient
@gunjchowwiwat83575 жыл бұрын
If you don't even know the amount of people in room ! How could you tell that n = amount of people in room? It's like asking someone "How many people in the room? and your answer is "How many".
@gunjchowwiwat83575 жыл бұрын
@@AxeAR No! It's not.
@sudhakarsingh5954 жыл бұрын
And professor David J Malan is one of the best professor of this era🙏🙏🙏
@topDragon-f9t7 ай бұрын
Anyone from The Odin project?
@noice10066 ай бұрын
I am!
@ruuksineofficial77022 ай бұрын
Odinite here! I went looking for this comment 😄
@alameachan11 жыл бұрын
We could confuse him further by saying, that some languages even accept constructs like "N++" or "N+=1". But to complete the explanation above, a comparison is done by "==" in most languages. So "N=N+1" increases the value of N, but "N==N+1" compares both sides and returns "false" if used in a numerical fashion.
@ajj77949 жыл бұрын
is it not simple to say set N =0 count number of people put number of people into N. how would you go about implementing this.?
@michaelthegreat19 жыл бұрын
+xganh zu count number of people would still require a loop because you still have to go through say N people so even if you wanted to use this you are simply still going to need a loop and after that you are just copying the value from one location to another this is called a funciton.
@ajj77949 жыл бұрын
+Michael Chen OK thanks : ) I wanted the use to enter the number of people but it's simpler to use a loop.
@HS-fb9tw9 жыл бұрын
+xganh zu you ruined my understanding.. D:
@ajj77949 жыл бұрын
not me if you are interested research livecode, it is a coding language which uses english. :) i do not understand programming either.
@antonija2602 Жыл бұрын
Great video and a simple explanation as well! Thank you!!!
@807pranavghandade86 жыл бұрын
4:39 how to always get your comment on top.
@naye2mIslam2 ай бұрын
Heyyy u are top comment.
@lebaptoumetrage6396 Жыл бұрын
Very nice presentation !
@Nicoder68848 жыл бұрын
At 4:39, My answer is that I would solve a rubik's cube.
@NelKarlsonMercado7 жыл бұрын
Nicolino Will Same 😂😂
@catlynya7 жыл бұрын
Syed Mohammed Habeeburehman YEAH
@mxhunts2 жыл бұрын
David J. Malan is the GOAT.
@tanutchankasem87816 жыл бұрын
Algorithms are a set of of instructions to solve problems that executed by computers or human. Then, am I programmed to wrote this comment to solve the problem that I wanted to do so by typing this on the keyboard ? What if we were written with a super complex algorithm. the code is so complex and it is infinite. So, who wrote that set of instruction?
@bobgustavsonn43066 жыл бұрын
yeah evolution just happened to create such intelligent organisms
@thevinhmac75605 жыл бұрын
It's a bug in Nature's algorithm that we, human beings, can have consciousness and eventually have conversations like this.
@MichaelOzoro Жыл бұрын
Wow...I love this, so simple and straight forward...
@NavnikBHSilver8 жыл бұрын
This reminds me of the time I programmed an algorithm that can generate a perfectly connected random jigsaw puzzle. And this was before I knew about recursive code, which would probably have made it a lot easier.
@soniyashahnoor93636 жыл бұрын
Navnik BHSilver Teach me your ways.
@0ShadowG010 жыл бұрын
Agortihm at the end is wrong. it works for pairs but not for x=3,4,5,..., 10. Becasue it would not add anything if there are between 2 and x and ony in cases where there is one person left in the room it would add him/her.
@stephaniekarunwi495510 жыл бұрын
Yes! was wondering if anyone else noticed!!
@burt5919 жыл бұрын
+0ShadowG0 but it says "for each pair of people in room" so if lets say it is 9 people in the room it will count 4 pairs, and then add the one person left... right?
@Minecrafter200069 жыл бұрын
+burt591 you could do any number when you do it like this : if x is number of people add x to N if x-1 is number of people add x-1 if x-2 is......
@Gottenhimfella7 жыл бұрын
(sigh) it will do any number just as it is, as burt591 illustrated. Your solution is recursive: it requires you to know the number of people in the room before you start counting them.
@TheSeannik5 жыл бұрын
@@burt591 in any group of 3 people there are 6 possible pairs......
@anonmousse7 жыл бұрын
David Malan is the best CS prof, man!
@matttrophy18 жыл бұрын
Sounds like basic computer language
@ainoaguy11 жыл бұрын
Very simple way teach a subject that can get complicated to your average student, very good!
@lamarmclemore316611 жыл бұрын
Words are algorithms connected to comprehension
@mitchanthony652 жыл бұрын
Concise & Succinct. Thanks. 👍
@juanmartindomingo5911 Жыл бұрын
wow i become smart
@kaizetam69318 ай бұрын
😂😂😂
@abanoubsameh66088 жыл бұрын
You guys are really great, you showed that math is useful and you gave me some hints for programming.
@thattrollagen9 жыл бұрын
i made a algorithm for love because my girlfriend broke up with me and she was cheating on me...
@creator-link9 жыл бұрын
Can I see it
@thattrollagen9 жыл бұрын
If I can find it. I posted it on some forum. I made it in JavaScript a while ago. Its really bad.
@creator-link9 жыл бұрын
ok
@ZeroArtsMade9 жыл бұрын
+ron thattrollagen (troll) What iz it lellelelelell
@thattrollagen9 жыл бұрын
yjae magno yummy yummy tapeworms
@gardensindeze25682 жыл бұрын
clear and precise in explaining Algorithm
@humanbeing14295 жыл бұрын
Does that mean I can use algorithm to study algorithm?
@randomystick5 жыл бұрын
Lesson 2: what is recursion
@vipinritik7813 жыл бұрын
What a perfect teaching. Awesome
@liltoaster73086 жыл бұрын
Wouldn't this just be illogical because of how uselessly complex it is.
@Theprincessogunka2 жыл бұрын
wow...this is the simplest explanation of the algorithm I have ever come across. T hank you, was very insightful
@junaidramzan76633 жыл бұрын
Never knew before becoming a cricketer, David Malan was a ted-ed speaker
@computingatschoolTV8 жыл бұрын
Added to our favourites playlist :)
@WanderingNasi3 жыл бұрын
David teaches the free course cs50 at Harvard. Great course for anyone looking to learn more about computer science. Note that the exercises are extremely hard and you may be better off skipping them as a beginner.
@sitotaalemu77012 жыл бұрын
The best video I've ever watched🔥
@gina78982 жыл бұрын
Great explanation
@Pfaeff11 жыл бұрын
The algorithm shown doesn't work with an increment greater than 2, because you'll also have to check for remainders 2..I-1, where I is the increment. It also isn't "faster" than counting one-by-one, due to the fact that those pairs or groups have to be determined in the first place. If you know the maximum number of people in the room, you can employ a divide-and-conquer (binary search) strategy though.