Wildest Vertical Area Between Two Points Containing No Points - Leetcode 1637 - Python

  Рет қаралды 5,724

NeetCodeIO

NeetCodeIO

Күн бұрын

🚀 neetcode.io/ - A better way to prepare for Coding Interviews
🧑‍💼 LinkedIn: / navdeep-singh-3aaa14161
🥷 Discord: / discord
🐦 Twitter: / neetcode1
🐮 Support the channel: / neetcode
⭐ BLIND-75 PLAYLIST: • Two Sum - Leetcode 1 -...
💡 DYNAMIC PROGRAMMING PLAYLIST: • House Robber - Leetco...
Problem Link: leetcode.com/problems/widest-...
0:00 - Read the problem
0:18 - Drawing Explanation
3:29 - Coding Explanation
leetcode 1637
#neetcode #leetcode #python

Пікірлер: 16
@a_maxed_out_handle_of_30_chars
@a_maxed_out_handle_of_30_chars 6 ай бұрын
i was having hard time understanding the problem statement 😅
@akshayiithyd
@akshayiithyd 6 ай бұрын
I was actually surprised when I submitted the solution and it passed, I thought how can a medium problem be this easy
@serhiizavadskyi
@serhiizavadskyi 6 ай бұрын
That's right! the hardest thing is to understand a problem. However, with a basic knowledge of the coordinate system, it becomes quite easy.
@Mnogarithm
@Mnogarithm 5 ай бұрын
They listened to you and changed this to easy. XD
@harkirat2998
@harkirat2998 6 ай бұрын
Damn Navi's Wildin !
@itspurelypassionate
@itspurelypassionate 6 ай бұрын
This was the same approach that I took. I thought I will watche your take on the problem. This made my day haha!
@krateskim4169
@krateskim4169 6 ай бұрын
Thank you so much
@user-rv1bx8hx4v
@user-rv1bx8hx4v 4 ай бұрын
Thank you)
@kaifussain
@kaifussain 4 ай бұрын
It is 'Easy' now
@yang5843
@yang5843 6 ай бұрын
class Solution { public int maxWidthOfVerticalArea(int[][] points) { Arrays.sort(points,(a,b)-> a[0] - b[0]); int max = 0; for (int i=0;i+1
@yang5843
@yang5843 6 ай бұрын
The thumbs up to thumbs down ratio on this problem is crazy, 425 to 907 atm.
@two697
@two697 6 ай бұрын
I'm not too surprised. It's quite a rubbish question. I don't think it's that hard to understand but they tried to add context for no reason. You're literally just finding the maximum difference between consecutive values
@birdbeakbeardneck3617
@birdbeakbeardneck3617 6 ай бұрын
hi
@Crftbt
@Crftbt 6 ай бұрын
Would be cool if this was in Rust. :)
@dayashankarlakhotia4943
@dayashankarlakhotia4943 6 ай бұрын
class Solution { public int maxWidthOfVerticalArea(int[][]points){ int ans=0; int[]area =new int [points.length]; for(int i=0;i
@abhishekrana7886
@abhishekrana7886 6 ай бұрын
please someone share leetcode id of mr.neetcode
String Compression II - Leetcode 1531 - Python
19:43
NeetCodeIO
Рет қаралды 25 М.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 34 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 76 МЛН
Arithmetic Slices II - Leetcode 446 - Python
21:19
NeetCodeIO
Рет қаралды 16 М.
Maximum Profit in Job Scheduling - Leetcode 1235 - Python
14:45
NeetCodeIO
Рет қаралды 28 М.
Don't Model the Problem
14:32
David Hart
Рет қаралды 9 М.
Image Smoother - Leetcode 661 - Python
16:02
NeetCodeIO
Рет қаралды 14 М.
Find All People With Secret - Leetcode 2092 - Python
14:35
NeetCodeIO
Рет қаралды 13 М.
I Solved 1583 Leetcode Questions  Here's What I Learned
20:37
ThePrimeTime
Рет қаралды 544 М.
Time Based Key-Value Store - Leetcode 981 - Python
17:16
NeetCode
Рет қаралды 87 М.
Maximum Product Difference Between Two - Leetcode 1913 - Python
10:55
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31