Dev with Jovi
Dev with Jovi
  • Видео 39
  • Просмотров 99 186

Видео

LeetCode 36 Valid Sudoku in javascript
Просмотров 5 тыс.3 года назад
LeetCode 36 Valid Sudoku in javascript
LeetCode 35 Search Insert Position in javascript
Просмотров 2,4 тыс.3 года назад
LeetCode 35 Search Insert Position in javascript
LeetCode 34 Find First and Last Position of Element in Sorted Array in javascript
Просмотров 1,8 тыс.3 года назад
LeetCode 34 Find First and Last Position of Element in Sorted Array in javascript
LeetCode 33 Search in Rotated Sorted Array in javascript
Просмотров 9593 года назад
LeetCode 33 Search in Rotated Sorted Array in javascript
LeetCode 31 Next Permutation in javascript
Просмотров 1,8 тыс.3 года назад
LeetCode 31 Next Permutation in javascript
LeetCode 62 Unique Paths in javascript
Просмотров 5103 года назад
LeetCode 62 Unique Paths in javascript
LeetCode 56 Merge Intervals in javascript
Просмотров 1,2 тыс.3 года назад
LeetCode 56 Merge Intervals in javascript
LeetCode 66 Plus One in javascript
Просмотров 9903 года назад
LeetCode 66 Plus One in javascript
LeetCode 70 Climbing Stairs in javascript
Просмотров 3,3 тыс.3 года назад
LeetCode 70 Climbing Stairs in javascript
LeetCode 73 Set Matrix Zeros in javascript
Просмотров 1,4 тыс.3 года назад
LeetCode 73 Set Matrix Zeros in javascript
LeetCode 83 Remove Duplicates from Sorted List in javascript
Просмотров 8093 года назад
LeetCode 83 Remove Duplicates from Sorted List in javascript
LeetCode 82 Remove Duplicates from Sorted List II in javascript
Просмотров 2643 года назад
LeetCode 82 Remove Duplicates from Sorted List II in javascript
LeetCode 206 Reverse Linked List in javascript
Просмотров 1513 года назад
LeetCode 206 Reverse Linked List in javascript
LeetCode 92 Reverse Linked List II in javascript
Просмотров 8273 года назад
LeetCode 92 Reverse Linked List II in javascript
LeetCode 121 Best Time to Buy and Sell Stock in javascript
Просмотров 4013 года назад
LeetCode 121 Best Time to Buy and Sell Stock in javascript
LeetCode 122 Best Time to Buy and Sell Stock II in javascript
Просмотров 1283 года назад
LeetCode 122 Best Time to Buy and Sell Stock II in javascript
LeetCode 125 Valid Palindrome in javascript
Просмотров 1,5 тыс.3 года назад
LeetCode 125 Valid Palindrome in javascript
LeetCode 134 Gas Station in javascript
Просмотров 7233 года назад
LeetCode 134 Gas Station in javascript
LeetCode 55 Jump Game in javascript
Просмотров 6213 года назад
LeetCode 55 Jump Game in javascript
LeetCode 46 Permutations in javascript
Просмотров 3,5 тыс.3 года назад
LeetCode 46 Permutations in javascript
LeetCode 24 Swap Nodes in Pairs in javascript
Просмотров 7333 года назад
LeetCode 24 Swap Nodes in Pairs in javascript
LeetCode 54 Spiral Matrix in javascript
Просмотров 9 тыс.3 года назад
LeetCode 54 Spiral Matrix in javascript
LeetCode 21 Merge Two Sorted Lists in javascript
Просмотров 15 тыс.3 года назад
LeetCode 21 Merge Two Sorted Lists in javascript
LeetCode 53 Maximum Subarray in javascript
Просмотров 2,6 тыс.3 года назад
LeetCode 53 Maximum Subarray in javascript
LeetCode 20 Valid Parentheses in javascript
Просмотров 5243 года назад
LeetCode 20 Valid Parentheses in javascript
LeetCode 14 LeetCode Longest Common Prefix in javascript
Просмотров 3,5 тыс.3 года назад
LeetCode 14 LeetCode Longest Common Prefix in javascript
LeetCode 19 Remove Nth Node From End of List in javascript
Просмотров 1,7 тыс.4 года назад
LeetCode 19 Remove Nth Node From End of List in javascript
LeetCode 18 4Sum in javascript
Просмотров 1,6 тыс.4 года назад
LeetCode 18 4Sum in javascript
LeetCode 17 Letter Combinations of a Phone Number in javascript
Просмотров 1,7 тыс.4 года назад
LeetCode 17 Letter Combinations of a Phone Number in javascript

Комментарии

  • @mostafa9989
    @mostafa9989 Месяц назад

    thank you this was very helpful <3 <3

  • @bryanenid1228
    @bryanenid1228 Месяц назад

    This won't work for 0 so you must check each value as a string.

  • @michaelnwuju6368
    @michaelnwuju6368 3 месяца назад

    Man, you are amazing! I would love to understand your thought process when approaching problems like this.

  • @superheroes8997
    @superheroes8997 4 месяца назад

    Thank you for this code

  • @fatimaahmad5734
    @fatimaahmad5734 6 месяцев назад

    improve to explain the solution little bit what is the purpose of writing each line clearly

  • @kalpanathmajhi3306
    @kalpanathmajhi3306 7 месяцев назад

    Amazing thanks for the video

  • @abhisheksaxena4845
    @abhisheksaxena4845 7 месяцев назад

    i want to understand the thought you gave behind indexing boxId formula

  • @ankitchaurasiya529
    @ankitchaurasiya529 7 месяцев назад

    thanks

  • @HawkingMerchant
    @HawkingMerchant 8 месяцев назад

    the guy who named the problem knew what he's doin

  • @Emily-r4p
    @Emily-r4p 10 месяцев назад

    this is soo good!

  • @ops513-y6e
    @ops513-y6e 11 месяцев назад

    There is a little bit confusion when direction ===up, it will overlap the first value of the matrix, but is's spiral matrix❤❤❤

  • @teawithkrystle4497
    @teawithkrystle4497 11 месяцев назад

    Thank you for breaking tis down and sharing.

  • @g_pazzini
    @g_pazzini Год назад

    wow... this problem should go to hard criteria...

  • @g_pazzini
    @g_pazzini Год назад

    wow.. clever.. using sliding window

  • @g_pazzini
    @g_pazzini Год назад

    this is basically fibonachi

  • @g_pazzini
    @g_pazzini Год назад

    clever

  • @g_pazzini
    @g_pazzini Год назад

    the second solution is the most optimum.. but only necessary when you interview with FAANG

  • @g_pazzini
    @g_pazzini Год назад

    scary

  • @craig9910
    @craig9910 Год назад

    This problem makes no sense in javascript

    • @foxiq1049
      @foxiq1049 10 месяцев назад

      I think almost everywhere we can use arrays instead of this. For arrays solution needs 2 rows of code

  • @paruljaiswal3090
    @paruljaiswal3090 Год назад

    Every time I got awesome explaination from you

  • @ckiv1992
    @ckiv1992 Год назад

    holy moley. This is some elite level explaining. Love it, so simple, effective, and easy to understand

  • @robscherer
    @robscherer Год назад

    Great explanation, I just don't understand it, sadly

    • @foxiq1049
      @foxiq1049 10 месяцев назад

      I think almost everywhere we can use arrays instead of this. For arrays solution needs 2 rows of code. I also can't understand all of this. I understood how it exactly compares but how it becomes one list and for that they use IF in the end - i don't know(

  • @邱慧珊-k7h
    @邱慧珊-k7h Год назад

    THANK YOU!!! I finally understand until seeing your video!

  • @ghanashrim2839
    @ghanashrim2839 Год назад

    Hey, I usually love your solutions, but a quick suggestion, while explaining the problem statement, don't just read out the input as what's given there. Help people conceptualize the problem statement.

  • @ghanashrim2839
    @ghanashrim2839 Год назад

    I mostly understand all your videos in one go, this was a bit confusing.

  • @ghanashrim2839
    @ghanashrim2839 Год назад

    Hi Jovi, Your videos are really concise, to the point, and easy to grasp. Thank you for making these. Please make videos solving all the problems from "Sean Prashad" list or "cracking the coding interview" list in Javascript. I would really appreciate it. Thank you. Also, could you please share, what software you use for screen recording and video editing?

  • @ghanashrim2839
    @ghanashrim2839 Год назад

    With Binary search, my main problem is with "<=" signs between comparison conditions. Be it (start < end) or (target >= nums[start])... I get super confused with the signs...

  • @ghanashrim2839
    @ghanashrim2839 Год назад

    Beautiful solution. For anyone else confused with 'current' assignment, // current variable holds the last element that is present in the result array. // assigning to current, changes the value it points to. // however, modifying current indexes will modify the last value it's pointing at.

  • @rustysherbs032
    @rustysherbs032 Год назад

  • @KhushpreetKaur-jo8zu
    @KhushpreetKaur-jo8zu Год назад

    well explained , thanku sir 💯

  • @Racools
    @Racools Год назад

    The massive Issue I have is the problem itself because if you were to try and understand this and do this in another code editor like run js you would assume that list1 and list2 are arrays like [1,2,4] when they are actually not. You basically have to know what an array [1,2,3] would generate when you make it into a linkedlist/listnode which I am now trying to figure out before even getting to this step.

    • @thomasl5927
      @thomasl5927 Год назад

      No idea why they name them list 1 and list 2

    • @MahmoudSamir-l9m
      @MahmoudSamir-l9m Месяц назад

      you came to any solution ? the weird thing is access value property from array input ?!!

  • @ledigdev
    @ledigdev Год назад

    this first solution was the first one i understood, this backtracking sheet was getting out of my mind. This is my first question on leet code (im starting from the 100liked questions) do you think is a good strategy?

  • @ahmedshehata5601
    @ahmedshehata5601 Год назад

    why his give me the two lists as an array type and in the examples need output as array type ?

  • @gerryramosftw
    @gerryramosftw Год назад

    People saying it doesn't work but the ideas present here works and i was able to submit fine what I would suggest that might be tripping people up is look into the `boxidx` variable, feel like that's what may be messing up your code but i took some ideas from this solution and was able to get accepted thanks for the video

  • @behzat1398
    @behzat1398 Год назад

    var searchInsert = function(nums, target) { for(let i = 0 ; i < nums.length ; i++){ if(nums[i]>=target){ return i; } } return nums.length; }; Clean code is the best solution 😃

  • @Code_express
    @Code_express Год назад

    thank you for uploading this video

  • @olayiwolaakinnagbe676
    @olayiwolaakinnagbe676 Год назад

    Thank you for this solution. I am confused a little bit on the i < len -3. Why -3?

  • @subhampanja4590
    @subhampanja4590 Год назад

    time complexity is very very high

  • @watchtube9429
    @watchtube9429 Год назад

    brooo u piss me off dsliking this video

  • @bechir9296
    @bechir9296 Год назад

    Great job

  • @paolofernandofloresrivera6244

    can i folow u on leet code ? i dont know why is not leeting me submited

  • @Metachief_X
    @Metachief_X Год назад

    thanks so much. this approach helped me finally understand this problem. Thank you thank you thank you!!!!

  • @DorKati
    @DorKati Год назад

    amazing solution. thank you!

  • @JChamberslam
    @JChamberslam Год назад

    Dude you blew my mind with the prime number keys how in the world did you come up with that

  • @timleb3141
    @timleb3141 Год назад

    why changing the nodelist of head in while loop will change to dummy nodelist? i.e why return dummy even there are no change on dummy

  • @danielyoung2649
    @danielyoung2649 2 года назад

    I believe this is the best solution and explanation I've ever watched on RUclips.

  • @akira_asahi
    @akira_asahi 2 года назад

    Thank you for the video. I am grateful for your time and contribution. Kind regards, Akira.

  • @BobbyBundlez
    @BobbyBundlez 2 года назад

    yes. so easy. leetcode is fucking intense man...

  • @pradeeppatil8379
    @pradeeppatil8379 2 года назад

    what happens if we dont give delimeter ,when joining array.

  • @heyshantu
    @heyshantu 2 года назад

    time complexity must be O(n)

    • @Torbeng
      @Torbeng Год назад

      It has to be O(n^2). If you find a solution with a complexity of O(n) you are either the worlds best programmer or lying