Always move the shorter line: on 1, 3, 2, 5, 25, 24, 5 the widest pair holds 6, and one pass finds 24.
https://firecode.io/?utm_source=bluesky&utm_medium=social&utm_campaign=video-container-with-most-water
#leetcode #codinginterview #twopointers
Always move the shorter line: on 1, 3, 2, 5, 25, 24, 5 the widest pair holds 6, and one pass finds 24. https://firecode.io/?utm_source=bluesky&utm_medium=social&utm_campaign=video-container-with-most-water #leetcode #codinginterview #twopointers
0 vue
Publié le 30/11/2026 14:35
1:15
Always move the shorter line: on 1, 3, 2, 5, 25, 24, 5 the widest pair holds 6, and one pass finds 24.
https://firecode.io/?utm_source=bluesky&utm_medium=social&utm_campaign=video-container-with-most-water
#leetcode #codinginterview #twopointers
0 commentaire
?