ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
You can loop through the list backwards and keep a greatest value seen variable. It means you don't have to call Math.Max which loops through the slice you have made.Better for time and memory
I'll look into that. I really wanted to follow through my idea, but it didn't ultimately pass all the tests and timed out.
Grind hard let's go!!!
Hell yeah brother!!! Manifest abundance!
@@John-Wilkins yes!! If you want to solve leetcode premium questions for free let me know
You can loop through the list backwards and keep a greatest value seen variable. It means you don't have to call Math.Max which loops through the slice you have made.
Better for time and memory
I'll look into that. I really wanted to follow through my idea, but it didn't ultimately pass all the tests and timed out.
Grind hard let's go!!!
Hell yeah brother!!! Manifest abundance!
@@John-Wilkins yes!! If you want to solve leetcode premium questions for free let me know