The style reminds me of late 70's / early 80's VHS. Love it.
First 2 cases are like 5th grade. The last one (Towers of Hanoi) is directly at 10th grade. While I can feel that this process solves the problem, I am not able to digest how exactly it solves. I might need to run through the cases more no. of times to solve it intuitively. It involves so many swapping of roles and resolving the problem again and again. If this question turns up unprepared in an interview, I can kiss the job good bye if I didn't prepare for it in advance.
Great way to explain codes, thank you.
Do more videos like this
Awesome explanation. Thank you
the best explanation for the tow problem that I found!
No comments from the odin project community. Feel yourself ahead. Still long way to go
Maybe it's the example of the problem that's used, but the cereal solution frustrates me to no end.
You cannot subtract or divide an undefined number.
When a bowl of cereal is poured, the amount of spoons it will take to empty the bowl is unknown and can easily vary with the size of bowl, the size of the spoon, and even the type of cereal.
Therefore, you should not check a numerical value (especially since most compilers cannot subtract from an undefined integer), but rather use a boolean to check to see if bowl is empty or not.
You are making assumptions though; the amount might be defined by the user's input; they decide how much they add into the bowl. If we are being literal and the implementation involves a robot, then the 1 bite could be measured using a type of sensor, for example 1 scoop = 1 bite, or weight, etc. I do agree using a boolean could also be an approach to solve the problem.
Wow what a great explanation truly amazing
I used to do the same thing without even knowing this....Simple Example that I did....2+3=5 That means 5-2 equals 3 And 5-3 equals 2...I used these types of scenarios to solve complex problems....See how that behaves in known simple scenarios.....
what about chewing and swallowing the food?
3:55 smartest recursion enjoyer
count number of letters(y). do -x and +x routine y times.
3:39 oh this is called a recursion function huh
The women eats a bite, the computer eats a byte ;)
I thought this was for programing in BASIC, not basic programing. lol
5:30
-> I'm learning JavaScript. It's not very clean probably, but I tried to do it in JS (to print in console):
var word = "Greetings";
for (var i = word.length; i > 0-1; i--) {
print = word.substring(0, i);
console.log(print);
if (i < 0+1) {
for (var j = 2; j < word.length+1; j++) {
rePrint = word.substring(0, j);
console.log(rePrint);
}
}
}
Odin gang hare Krishna to all from india
use a straw.lol
I know this was not the point of the video, but if you are going to film a person narrating the lesson, please either pick someone more expressive that preferably has the topic memorized, or do not film at all. I always look people in the eye and it is irritating seeing the narrator reading the script somewhere inside the depths of my cranium.
Just Rinat sounds like a personal problem. They just went with a standard set up. Not bad for us, considering IT'S FREE.
Came from MIT page to yt just to see if someone else had the same feeling. YUP!
sorry, but in this case its most boring explanation i ever seen :(
🚀 Hey The Odin Project Stars! 🚀
Shoutout to the Extra-Mile Explorers! 🌟 Your dive into additional content sets you apart. 💻✨ Remember, every extra code line is a step towards brilliance. 💪 Keep pushing, keep coding, you're building something extraordinary! 🚀👩💻 #