How to Ace this Amazon Coding Interview Question - JavaScript

preview_player
Показать описание
Solution to a very popular coding interview question asked recently by Amazon - Container with Most Water.

#softwareengineering #javascript #shorts

Background Music:
Creative Commons / Attribution 4.0 International (CC BY 4.0)
Рекомендации по теме
Комментарии
Автор

Start with a brute force then go to optimal solution

vinayyadav-qcgt
Автор

Sure put a while loop without a max iteration check in production code, what could possibly go wrong?

jacopomazzoni
Автор

i dind't get why he wrote that code, he just asked to find the max area, isn't it? the you could just return the max in the array, since the basis are all the same

lellobidello
Автор

How to waste your time on something that you will never use

thatguyty