LeetCode Push Dominoes Solution Explained - Java

preview_player
Показать описание


Preparing For Your Coding Interviews? Use These Resources
————————————————————

Other Social Media
----------------------------------------------

Show Support
------------------------------------------------------------------------------

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

Sorry about the quality idk what happened but it should still be good enough. Let me know if you're having problems with this one.

NickWhite
Автор

Man, you are underrated! Great work. You should get more views.

palak
Автор

have you tried input RRRLL? IT's expecting RRRLL rather than which means force doesn't matter... every domino's status only related to its left and right, not total left or right.

rancui
Автор

Good work Nick nice explanation.... go ahead.. everybody make a mistake 👍🙌

saravanansarangan
Автор

Well explained man!
I'd suggest you mention the question's difficulty in the video's title or in the thumbnail.
Great job though!

edwardnewgate
Автор

Nice approach and very well described. Thanks Nick

sandipchanda
Автор

Great job explaining.
But I think force has got nothing to do it, it is the time that we have to take care of, they have specified that no extra force is being exerted from an already falling domino. So, if a domino is hit by left and right at the same time it will standstill. Correct me if I am wrong.

ankitdahiya
Автор

Force = Math.max(force-1, 0) this is where I stuck

renagade