Yes I use a mouse to draw, in case you still don't believe me. Why? Because with a mouse you can artificially lower the DPI, such that I have to move my hand a few inches to move the mouse cursor by a single inch. This means I can be more precise than if i were using a pen.
@spsc07
5 ай бұрын
is your mouse acceleration on?
@NeetCodeIO
5 ай бұрын
I dont think so edit: actually yes it is
@blakewen4265
5 ай бұрын
what software do you use to draw?
@varunpenumudi
5 ай бұрын
What software do you use for drawing?
@spsc07
5 ай бұрын
i guess Windows Whiteboard or something like that@@varunpenumudi
@ragilr1
5 ай бұрын
Big fan of your work. Would like the earlier format without face. A lot of attention goes to your handsome face than looking at the explanation drawings
@kebab4640
5 ай бұрын
Woah, I said the same thing.
@huyennguyenmaingoc468
4 ай бұрын
Yes I felt the same thing. Glad you shouted this out XD
@chien-yuyeh9386
5 ай бұрын
Really happy to see you here again!🎉
@user-j5ja95
5 ай бұрын
Hey Neetcode I love your channel and love you and you're super handsome but personally I find having camera on leetcode video to be a bit distracting so I prefer no camera. Nothing personal, I can just focus on content better without camera ❤
@dingus2332
5 ай бұрын
Yeah , agree to that
@ashersamuel958
5 ай бұрын
Same here too. Love your content ❤
@joelmendez9616
5 ай бұрын
I’d prefer no cam, just to be able to focus better, especially since there is a disparity in light
@krishnavamsi9326
5 ай бұрын
I prefer videos with face. It's good seeing you explaining . Big fan, been following you since 1 and a half years.
@walkastray007
5 ай бұрын
Hey I really appreciate your consistency on posting videos. Also I like the webcam, now we can see your reaction to the problems as you are explaining them to us. Makes it feel like you're human after all..
@SC2Edu
5 ай бұрын
Great as usual. I approached it correctly with a sliding window method, but I used slices and I was not using the difference between indices. Great intuition, thanks.
@gauravsharma-lu4if
5 ай бұрын
i have been watching your channel for a while now, you are helped me a lot with learning dsa . keep the camera on . i like it this way
@chisomedoka401
5 ай бұрын
Bro, your consistency level is off the roof. I’m literally finding it hard to understand why you still leetcoding you already got it all
@CS_n00b
5 ай бұрын
Here is a better way to understand why getting all subsequences is O(n^2): First element needs n operations to get all n subarrays, n-1 for second etc... We are summing over numbers from n to 1 This can be thought of as a discretization of the integral of x from 0 to n this is 0.5*n^2 ~ O(n^2)
@azharuddinkhan1865
5 ай бұрын
Facecam is great addition. It provides classroom feeling and easy to understand with facial gesture
@hristianiliev7979
5 ай бұрын
I almost had the solution for this problem and I identified the part where we are missing to count the array [5], but I did not know how to prove how many new subarrays that satisfy the condition we are adding on every correct step. I even went looking for variant formula and combinatorics. Who knew that such a simple observation with the equation is the answer.
@adnanmurtaza6914
5 ай бұрын
The facecam makes the video feel more personable. I can see how it can be distracting, but I think it brings in more value than it takes away.
@rvishwakarma94
3 ай бұрын
I believe the total number of contiguous subarray is not just n^2. It is n + (n-1)+ (n-2) .....+1 = [n*(n+1)]/2 . So for array of size 4 the total number of contiguous subarrays will be 4+3+2+1 = 10 and not n^2 = 16
@massimomonticelli6010
5 ай бұрын
Hey NeetCode, I like the camera view!
@sri_harsha_dv
5 ай бұрын
I tried to do it with queue instead of sliding window. Despite being O(n) memory solution, the submission passed pretty efficiently. Thanks for O(1) solution. I personally like video with cam included.
@akshaychavan5511
5 ай бұрын
NEETly explained! Thank you so much :D def numSubarrayProductLessThanK(self, nums: List[int], k: int) -> int: res = 0 p1, p2 = 0, 0 currentProd = 1 while p2
@Akhillbj
5 ай бұрын
For loop is better, sometimes you still forget to increment p2 , most might not , just in case! You never know
@akshaychavan5511
5 ай бұрын
@@Akhillbj I agree. Will keep this in mind.
@prashanthkumar0
5 ай бұрын
Today's daily problem question , i was searching this with every possible filter to get a solution video from neetcode 😂 Finally its here... I didn't get (r-l+1) logic in other's code ... now its clear why Thank you
@romannikiforov5122
5 ай бұрын
I was struggling with this problem couple of weeks ago and was upset to know that you didn't have video on it.
@AdityaBhongade
5 ай бұрын
Hey NeetCode, your content is great. It would be better if you increase the audio.
@MP-ny3ep
5 ай бұрын
Great explanation as always. Thank you
@ahmedhamed1154
5 ай бұрын
Another solution We can desfine int nxt[N] such that nxt[i] is the next element to the right not equal to 1 and for each pos i, we can show that the maximum number of jumps is log2(k) which is about 20 jumps int mult=1; int j=i; while(j is not out of the range && mult*a[j]
@viizualares6890
5 ай бұрын
W NeetCode as always. I don't think you have ever missed once.
@JSH1994
2 ай бұрын
cam or no cam it doesn't bother me :) thank you for your work
@sidhartheleswarapu
5 ай бұрын
Why l
@dingus2332
5 ай бұрын
I understand the solution , but want to know , why we could not use DP here ? , also like Subarray Sum Equals K , why we were not able to use prefixSumDiff to count map ??
@yang5843
5 ай бұрын
Interested in seeing how the feedback for cam-on videos will be!
@isseihyodou7111
5 ай бұрын
Hey, Neet love your videos man, would love to see the video more focused on the solution, a lot of attention goes on to your handsome face :D
@arunmurugan7093
5 ай бұрын
I was gonna do the daily today and just saw your upload. I guess ill be back here in 1 hour. 😅
@juuzousuzuya69
3 ай бұрын
there is no way I would think this solution in 1 go, I might know it will be a sliding window problem but the logic behind right - left + 1 would result to counting the subarray? I wont be able to guess or think of it lol.
@ankandebnath1056
5 ай бұрын
bro keep doing the daily challenges
@spsc07
5 ай бұрын
W man, W Webcam I would love to see this I was just doing this question !!
@user-ty7og3rd4z
5 ай бұрын
I definetly like the videos with face cam!
@ZeckTTV
5 ай бұрын
I like having the camera on, I feel like you do a better job explaining your throught process with it on.
@KunalSharma-tf3kk
5 ай бұрын
very helpful your videos are...
@ronbuchanan5432
5 ай бұрын
It's good to see you, don't get me wrong but it also has got me distracted because I want to focus on what you're doing but at the same time you kinda want to glance to the face that talks
@yang5843
5 ай бұрын
Java Solution class Solution { public int numSubarrayProductLessThanK(int[] nums, int k) { int prev = 1; int rc = 0, i = 0; for (int j=0;j
@tokkiM3
5 ай бұрын
I like the face cam, keep up the good work.
@art4eigen93
5 ай бұрын
will this work for negative values too?
@user-rv1bx8hx4v
5 ай бұрын
Thank you!
@slambam4592
5 ай бұрын
Without facecam. Feel it can be too distracting
@satyamjha68
5 ай бұрын
Solved it!!
@pepe-pj9wr
5 ай бұрын
WE LOVE THE CAM ON!
@tommyshelby6277
5 ай бұрын
with face cam op!
@ssh3v
5 ай бұрын
Binary search is very hard to think about
@inderlalchandani
5 ай бұрын
Nice
@ttowe
5 ай бұрын
better with camera
@alicenNorwood
5 ай бұрын
I prefer with cam
@kz_cbble9670
5 ай бұрын
No camera preffered! Keep camera on in story or other videos
@expeditiontoabyss3597
5 ай бұрын
i was shocked that I couldn't find a solution this morning in your channel. But now its here, probably some race condition.
@m.kamalali
5 ай бұрын
Hhh , i did the exact same code only difference i used p instead of product
@kahafb
5 ай бұрын
Like the facecam
@edmonddantes587
5 ай бұрын
god damnit I was a gnat's c*nt hair away from a working solution. Thanks for the vid, bro
@nirmalgurjar8181
5 ай бұрын
I cant see your bag on the floor, so no point in keeping camera :P
@ignsock2915
5 ай бұрын
i love you
@krateskim4169
5 ай бұрын
Face cam is good
@chien-yuyeh9386
5 ай бұрын
🎉🎉🎉🎉🎉
@pastori2672
5 ай бұрын
you look so cute bro 🥰
@MikeTypes
5 ай бұрын
It’s better to have your face on
@shakibrahman
5 ай бұрын
sorry you're too handsome it's distracting me
@PickNick50
5 ай бұрын
Please no face cam bro, I come here to study and seeing anyone's face is not gonna help me to learn more. And I low key respect those who maintains anonymity.
@zweitekonto9654
5 ай бұрын
Definitely dont like the face cam. Just because it takes up screen space and serves absolutely no purpose.
@tanishqbhatt9619
5 ай бұрын
No offense to you, but I'd prefer videos without a face cam
@kebab4640
5 ай бұрын
I like it but your jawline makes you look so handsome that you distract me 😍
Пікірлер: 80