Vs. Codewars #12 - Digital Root, MongoDB ObjectID, Lazy Function Evaluation

preview_player
Показать описание
Hello, again! Today on "Vs. Codewars", you get to see me take a number, calculate the sum of its digits, then repeat the process on the sum until a single digit sum results; check to see if a string is a valid MongoDB ObjectID, then get the timestamp from that ObjectID; and implement a lazy function evaluation pattern.

0:00 - Intro
0:31 - Kata: "Sum of Digits / Digital Root" by user578387 (6 kyu)
4:57 - Kata: "Mongodb ObjectID" by user9027523 (5 kyu)
16:02 - Kata: "Lazy evaluation" by surtich (5 kyu)
30:36 - Outro

The Documentation on MongoDB's ObjectID:

The Katas featured in today's episode:

As always, if you wish to try these Katas for yourself, please do so before watching today's episode. Good luck and have fun!
Рекомендации по теме