(Remade) Non-Decreasing Array | Leetcode 665

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

Code:

Leetcode:

*Note* I claim no rights to this question. All rights belong to Leetcode. If I'm reviewing a solution that was from another Leetcode user or Leetcode itself I will give credit below.

Hey there! Just wanted to let you know that some of the below links in this video description are affiliate links, which means that if you make a purchase through them, I may earn a small commission. Don't worry though, it doesn't cost you anything extra and it helps support this channel so I can continue to make more videos for you. Thank you so much for your support, and as always, all opinions are my own!

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

Hey there! Just wanted to let you know that some of the links in this comment are affiliate links, which means that if you make a purchase through them, I may earn a small commission. Don't worry though, it doesn't cost you anything extra and it helps support this channel so I can continue to make more videos for you. Thank you so much for your support, and as always, all opinions are my own!

NideeshTerapalli
Автор

0:11 Input/Output
1:13 Approach
3:43 Code
4:40 Complexity

NideeshTerapalli
Автор

This is so well explained!! Thank You 👍

AbhishekMishra-memu
Автор

Excellent video! You have ensured that I learn a newer technique to handle non-decreasing/non-increasing lists.

NasaVinDiesel
Автор

Thats what we need
a short and clean explanation

akanshkumar
Автор

You just earned yourself with a new member with that visualisation - Thank you much,

kedikebba
Автор

What if black is greater than both green and blue? Have you considered this case?

hemantbhargava
Автор

Now that's what you can call a tutorial from explaining the problem to visualizing the solution. Keep it up and keep posting videos with the same approach of explanation.

hammierdhammi
Автор

Great Approach Nyc Visualization and Intuition

tanmaychandra
Автор

The visual explanation really helped. Thanks!

ayonkar
Автор

The graphical representation is more than enough to code it out. Good work dude.

sadmanabedin
Автор

Oh man....This is the best possible explanation.

spk
Автор

How cam someone explain so beautifully 👍i am just mesmerized 😁 subscribed 👍

shang_chi
Автор

This visual representation is too good !! Thnks :)

tenmadoc
Автор

Wow. What an explanation! Keep up the good work!

amolmishra
Автор

0:39 if you log your arr inside of the provided solution, you will get [4, 4, 4], my question is when did we decreased 4 to 2 ( as you saying here ) to achieve the desired value

a_m_dev
Автор

good video, but colors should be diff - like green red yellow

borat_trades
Автор

is there a mathematical proof/reasoning behind this?

homelessdogs
join shbcf.ru