Let's solve this problem idiomatic way via Kotlin! 🎃👻
🧑🏻🏫 Problem Link :
https://leetcode.com/problems/candy/d...
🍬🧺 Kotlin Aggregate operations :
https://kotlinlang.org/docs/collectio...
◢ Triangular number ◣
https://en.wikipedia.org/wiki/Triangu...
🎃 Trick-or-treating 👻
https://en.wikipedia.org/wiki/Trick-o...
⏰ Time Stamp
00:00 intro
00:12 analysis
01:40 get it done first (3-loop)
02:53 optimize the solution (2-loop)
03:52 can we do better? (1-loop)
05:59 implement the solution
09:20 submit
09:42 fresh eyes approach
12:34 implement the hidden solution
16:58 submit hidden solution
17:09 outro
#halloween #algorithm #leetcode #kotlin #competitiveprogramming #array #greedy #triangle #codinginterview #btyttechlibrary #candy #trickortreat
▬▬▬▬▬▬▬
🎵Song : 샛별
🎙️Track : Trick or treat! - • [Halloween] Trick or treat! (Royalty Free ...
🎵Music provided by 브금대통령
🎙️Track : Halloween Masquerade - • Halloween Masquerade | 아직 이승을 떠도는 그대들에게 보내...
🎵Prod. 브금공방
🎙️Track : Trick Or Treat - • 할로윈 파티 분위기를 살려주는 음악 Halloween Party Music ...
🎥 Video Source provided by freeticon
/ freeticon
Templates in ChunHyang
• [Finalcut Pro Template] 핼러윈템플릿 | 할로윈템플릿 | ...
▬▬▬▬▬▬▬
コメント