1712. Ways to Split Array Into Three Subarrays (Leetcode Medium)

preview_player
Показать описание
Larry solves and analyzes this Leetcode problem as both an interviewer and an interviewee. This is a live recording of a real engineer solving a problem live - no cuts or edits!

#leetcode #coding #programming
Рекомендации по теме
Комментарии
Автор

This was a prime example of not doing a problem while you're tired/sick! I didn't really have the energy to grind through this and it showed! When you have off by one on indices, remember to go back and remember exactly what the indices represent, inclusive and exclusive - I actually had mostly the right solution at about ten minutes into this problem, but then I just confused myself the rest of the way!

Algorithmist
Автор

damn forget to consider zero in the contest and it costs me 5 wa to ac

jamesfan
Автор

Understand that you are tired but atleast you should have put more effort into the explanation.

bismeetsingh
welcome to shbcf.ru