Technosage
Technosage
  • 158
  • 1 000 073

วีดีโอ

Majority Element | Leetcode 169 |Moore's voting algorithm | Top 150 interview question series
มุมมอง 14Kปีที่แล้ว
Top 150 interview question series Majority Element Leetcode problem number 169 JAVA interview programming playlist: th-cam.com/play/PLjOcsOwEjb12MCtmFfCWoQgtMIW1pCbD4.html Git Repo: github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/MajorityElement.java
Remove Duplicates from Sorted Array 2 | Leetcode 80 | Top 150 Interview questions series
มุมมอง 18Kปีที่แล้ว
Top 150 interview question series Remove Duplicates from Sorted Array 2 Leetcode problem number 80 JAVA interview programming playlist: th-cam.com/play/PLjOcsOwEjb12MCtmFfCWoQgtMIW1pCbD4.html Git Repo: github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/RemoveDuplicatesFromSortedArray2.java
Time Complexity | A practical approach | Big O
มุมมอง 801ปีที่แล้ว
This video talks about the Time complexity of an algorithm, Big O notation, Time complexity as a function of input size and practical approach to time complexity. LinkedIn: www.linkedin.com/in/manoj-sharma-4a1341a3
Remove Duplicates from Sorted Array | Leetcode 26 | Top 150 interview question series
มุมมอง 29Kปีที่แล้ว
Top 150 interview question series Remove Duplicates from Sorted Array Leetcode problem number 26 JAVA interview programming playlist: th-cam.com/play/PLjOcsOwEjb12MCtmFfCWoQgtMIW1pCbD4.html Git Repo: github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/RemoveDuplicatesFromSortedArray.java
Find the Distinct Difference Array | Leetcode 2670 | Weekly Contest 344
มุมมอง 1.3Kปีที่แล้ว
Find the Distinct Difference Array Leetcode problem number 2670 JAVA interview programming playlist: th-cam.com/play/PLjOcsOwEjb12MCtmFfCWoQgtMIW1pCbD4.html Git Repo: github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/distinctDifferenceArray.java
Merge Sorted Array | Leetcode 88
มุมมอง 41Kปีที่แล้ว
Merge Sorted Array Leetcode problem number 88 JAVA interview programming playlist: th-cam.com/play/PLjOcsOwEjb12MCtmFfCWoQgtMIW1pCbD4.html Git Repo:
Count the Number of Vowel Strings in Range | Leetcode 2586
มุมมอง 1.2Kปีที่แล้ว
Count the Number of Vowel Strings in Range Leetcode problem number 2586 JAVA interview programming playlist: th-cam.com/play/PLjOcsOwEjb12MCtmFfCWoQgtMIW1pCbD4.html Git Repo: github.com/Technosagelearning/Technosage/blob/main/Interview_programming_solutions/CountNumberOfVowelStringsInRange.java
Find all Lonely Numbers in the Array | Leetcode 485
มุมมอง 1.3Kปีที่แล้ว
Find all Lonely Numbers in the Array | Leetcode 485
Max Consecutive Ones | Leetcode 485
มุมมอง 2.4Kปีที่แล้ว
Max Consecutive Ones | Leetcode 485
Ugly Number | Leetcode 263
มุมมอง 3.4Kปีที่แล้ว
Ugly Number | Leetcode 263
Find Lucky Integer in an Array | Leetcode 1394
มุมมอง 2.2Kปีที่แล้ว
Find Lucky Integer in an Array | Leetcode 1394
Maximum Subarray | Kadane's Algorithm | Leetcode 53
มุมมอง 7Kปีที่แล้ว
Maximum Subarray | Kadane's Algorithm | Leetcode 53
Check if a Word Occurs As a Prefix of Any Word in a Sentence | Leetcode 1455
มุมมอง 1.9Kปีที่แล้ว
Check if a Word Occurs As a Prefix of Any Word in a Sentence | Leetcode 1455
Search Insert Position | Leetcode 35
มุมมอง 8Kปีที่แล้ว
Search Insert Position | Leetcode 35
Find the index of the first occurrence in a string | Leetcode 28 | O(n) time Complexity
มุมมอง 3.6Kปีที่แล้ว
Find the index of the first occurrence in a string | Leetcode 28 | O(n) time Complexity
Reverse only letters | Leetcode 917
มุมมอง 1.8Kปีที่แล้ว
Reverse only letters | Leetcode 917
Is Subsequence | LeetCode problem 392
มุมมอง 3.5Kปีที่แล้ว
Is Subsequence | LeetCode problem 392
Advanced Excel Course [FULL COURSE in 2 Hours]
มุมมอง 318ปีที่แล้ว
Advanced Excel Course [FULL COURSE in 2 Hours]
Move Zeros | LeetCode problem 283
มุมมอง 6Kปีที่แล้ว
Move Zeros | LeetCode problem 283
Search in Rotated Sorted Array | LeetCode problem 33
มุมมอง 3.1Kปีที่แล้ว
Search in Rotated Sorted Array | LeetCode problem 33
Concatenated Words | LeetCode problem 472
มุมมอง 1.2Kปีที่แล้ว
Concatenated Words | LeetCode problem 472
Contains Duplicate II | LeetCode problem 219
มุมมอง 10Kปีที่แล้ว
Contains Duplicate II | LeetCode problem 219
Missing Number | LeetCode problem 268
มุมมอง 6Kปีที่แล้ว
Missing Number | LeetCode problem 268
Add Digits | LeetCode problem 258
มุมมอง 3.9Kปีที่แล้ว
Add Digits | LeetCode problem 258
Power of Two | LeetCode problem 231
มุมมอง 4.7Kปีที่แล้ว
Power of Two | LeetCode problem 231
Check whether two Strings are almost equivalent| LeetCode problem 2068
มุมมอง 1.9Kปีที่แล้ว
Check whether two Strings are almost equivalent| LeetCode problem 2068
Isomorphic Strings | LeetCode problem 205
มุมมอง 19Kปีที่แล้ว
Isomorphic Strings | LeetCode problem 205
Converting Numbers to Words in Excel
มุมมอง 1.2Kปีที่แล้ว
Converting Numbers to Words in Excel
Valid Anagram | LeetCode problem 242
มุมมอง 12Kปีที่แล้ว
Valid Anagram | LeetCode problem 242

ความคิดเห็น

  • @crichub1296
    @crichub1296 18 ชั่วโมงที่ผ่านมา

    Its working for all cases 👍

  • @faizuddin4032
    @faizuddin4032 วันที่ผ่านมา

    Great explanation, but it would be great if you use dark theme on leetcode

  • @m7md_abz146
    @m7md_abz146 2 วันที่ผ่านมา

    3 is not minrightnums2 , 9 is

  • @rajdeeppatil3623
    @rajdeeppatil3623 3 วันที่ผ่านมา

    such a sweet and simple solution, thank q mam.

  • @DevbrathBhattPujari
    @DevbrathBhattPujari 4 วันที่ผ่านมา

    Can you please explain more at timestamp 4:45 that why did you just took the string till index 7?

  • @DevbrathBhattPujari
    @DevbrathBhattPujari 4 วันที่ผ่านมา

    Can you please explain more at timestamp 4:45 that why did you not take the whole length and just till index 7?

  • @thAsciNileshPal
    @thAsciNileshPal 5 วันที่ผ่านมา

    keep it up didiiiii ; U and SashCode channel doing great job ; i request u too pls come up with the series of daily leetcode potd solutionss

  • @nigarsultana1739
    @nigarsultana1739 5 วันที่ผ่านมา

    Thanks a lot mam!!!

  • @bhargavchandhu5100
    @bhargavchandhu5100 6 วันที่ผ่านมา

    it is best and simple than above class Solution { public void merge(int[] nums1, int m, int[] nums2, int n) { for (int j = 0, i = m; j < n; j++) { nums1[i] = nums2[j]; i++; } Arrays.sort(nums1); } }

  • @user-jj9rk4en9i
    @user-jj9rk4en9i 7 วันที่ผ่านมา

    great explanation simple approach for those in new in dsa

  • @KapilSharma-qh4zi
    @KapilSharma-qh4zi 7 วันที่ผ่านมา

    But it is not working on [5,1,3] array

  • @duylong3684
    @duylong3684 8 วันที่ผ่านมา

    class Solution { public int lengthOfLongestSubstring(String label) { int end = 0; int maxLength = 0; List<Character> list = new ArrayList<>(); while (end < label.length()) { boolean isContained = list.contains(label.charAt(end)); if (!isContained) { list.add(label.charAt(end)); end++; maxLength = Math.max(maxLength, list.size()); } else { list.removeFirst(); } } return maxLength; } } i think the start variable unnecessary

  • @saratdas8886
    @saratdas8886 9 วันที่ผ่านมา

    the indentation and the brackets opening and closing are not taken care of , and also this code is partially complete , this doesn't pass all test cases

  • @adityarajsah414
    @adityarajsah414 10 วันที่ผ่านมา

    Guys whoever is getting wrong ans, just check my solution it is accepted by leetcode: class Solution { public int[] searchRange(int[] nums, int target) { int[] result = new int[2]; result[0] = findFirstPosition(nums, target); result[1] = findLastPosition(nums, target); return result; } private int findFirstPosition(int[] nums, int target) { int left = 0; int right = nums.length - 1; int firstPosition = -1; while (left <= right) { int mid = left + (right - left) / 2; if (nums[mid] == target) { firstPosition = mid; right = mid - 1; // keep searching to the left } else if (nums[mid] < target) { left = mid + 1; } else { right = mid - 1; } } return firstPosition; } private int findLastPosition(int[] nums, int target) { int left = 0; int right = nums.length - 1; int lastPosition = -1; while (left <= right) { int mid = left + (right - left) / 2; if (nums[mid] == target) { lastPosition = mid; left = mid + 1; // keep searching to the right } else if (nums[mid] < target) { left = mid + 1; } else { right = mid - 1; } } return lastPosition; } }

  • @AmitBiswas0142
    @AmitBiswas0142 12 วันที่ผ่านมา

    public int[] searchRange(int[] nums, int target) { int[] arr = new int[2]; arr[0] = arr[1] = -1; for (int i = 0; i < nums.length; i++) { if (nums[i] == target) { arr[0] = i; break; } } if (arr[0] != -1) { for (int i = arr[0]; i < nums.length; i++) { if (nums[i] == target) { arr[1] = i; } else { break; } } } return arr; } For anyone facing issue try this solution

  • @adityarajsah414
    @adityarajsah414 13 วันที่ผ่านมา

    Please do continue with the series, In entire you tube this is the only channel where I am able to understand the solution and co-relate with my approach. I understand because of medical condition you took a break, but please try uploading the videos as soon as possible please Amrita it's my humble request. And if you are not well, Get well soon and then upload the videos.

    • @TechnosageLearning
      @TechnosageLearning 10 วันที่ผ่านมา

      Thank you for your message. We will be starting up with the videos soon.

  • @mayukh_
    @mayukh_ 15 วันที่ผ่านมา

    Essentially this not in constant space. Because in the for loop, you are creating another copy for the array.

  • @SumitChouhan-ss5tt
    @SumitChouhan-ss5tt 15 วันที่ผ่านมา

    I just have a silly questions?? How much time the loop run ???

  • @ashishnannaware7349
    @ashishnannaware7349 15 วันที่ผ่านมา

    what if array=["Thik","kuchh nhi","Thik h"] as per your code output is => Thik but output will be "" (blank)

    • @tanyamodi9233
      @tanyamodi9233 13 วันที่ผ่านมา

      first sort the array, once it is sorted it will give correct output

  • @GulshanKumar-rm2fz
    @GulshanKumar-rm2fz 17 วันที่ผ่านมา

    maam what if there is two missing number then this code will be failed

  • @mayanksinghal1400
    @mayanksinghal1400 17 วันที่ผ่านมา

    Hello.. Thankyou for this video. Can you explain please why can't we use overflow condition like if (rev*10 > Integer.MAX_VALUE || rev*10 < Integer.MIN_VALUE)

  • @anshulsen3357
    @anshulsen3357 18 วันที่ผ่านมา

    regex kese kaam kr rha h maam @Technosage

  • @samorouji2842
    @samorouji2842 20 วันที่ผ่านมา

    legend

  • @start1learn-n171
    @start1learn-n171 20 วันที่ผ่านมา

    Tq😊

  • @Naveenkumar-p4i
    @Naveenkumar-p4i 20 วันที่ผ่านมา

    here's a single word 0ms code for it class Solution { public int strStr(String haystack, String needle) { return haystack.indexOf(needle); } }

  • @Riteshpc-c3x
    @Riteshpc-c3x 20 วันที่ผ่านมา

    thanks

  • @sauryakumargupta3008
    @sauryakumargupta3008 21 วันที่ผ่านมา

    Outstanding explanation in such a ez way <3 !

  • @MrBeasstHindiEnglish
    @MrBeasstHindiEnglish 21 วันที่ผ่านมา

    "Great explanation on removing duplicates from a sorted array! 𝑰 𝒓𝒆𝒄𝒆𝒏𝒕𝒍𝒚 𝒎𝒂𝒅𝒆 𝒂 𝒗𝒊𝒅𝒆𝒐 𝒐𝒏 𝒕𝒉𝒆 𝒔𝒂𝒎𝒆 𝒕𝒐𝒑𝒊𝒄 , exploring different approaches. It's always interesting to see how others tackle this problem."

  • @sandykl
    @sandykl 22 วันที่ผ่านมา

    PROBLEM SOLVED!

  • @Caped_Crusader7
    @Caped_Crusader7 23 วันที่ผ่านมา

    why visited = -1?

  • @vikasvarshney1681
    @vikasvarshney1681 26 วันที่ผ่านมา

    Good explanation.!!

  • @beesettiswathi7162
    @beesettiswathi7162 28 วันที่ผ่านมา

    great explanation mam..thank you so much

  • @narendrabudaniya4353
    @narendrabudaniya4353 29 วันที่ผ่านมา

    mam your code is left the last element always so return count is always less one here is the write code int pointer = 0; for (int i=0; i<nums.length-1; i++){ if (nums[i] != nums[i+1]){ nums[++pointer] = nums[i+1]; } } return nums.length ==0 ? 0 : pointer+1;

  • @gastonhitw720
    @gastonhitw720 หลายเดือนก่อน

    34:57 when you are in this screen is there a way to use vmware esxi gui on the same server? or it has to be managed yes or yes from that ip address in a browser?

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 หลายเดือนก่อน

    NICE SUPER EXCELLENT MOTIVATED

  • @ujjwaldas2302
    @ujjwaldas2302 หลายเดือนก่อน

    you dint verified the case that majority element should be more the n/2 ????

  • @ganeshjaggineni4097
    @ganeshjaggineni4097 หลายเดือนก่อน

    NICE SUPER EXCELLENT MOTIVATED

  • @helloworld3975
    @helloworld3975 หลายเดือนก่อน

    amazing solution

  • @hiteshsuthar1097
    @hiteshsuthar1097 หลายเดือนก่อน

    Tnx, changing broadband speed options really worked well

  • @HiteshGorantla
    @HiteshGorantla หลายเดือนก่อน

    Is there a way to automate it through CLI ?

    • @TechnosageLearning
      @TechnosageLearning หลายเดือนก่อน

      You can use Python library pyvmomi. Or if you need CLI you can use ovftool offered by vmware.

  • @GauravRaj-bi9kg
    @GauravRaj-bi9kg หลายเดือนก่อน

    why u have stop the series you may complete it all plzzzzzzzzzz

    • @TechnosageLearning
      @TechnosageLearning หลายเดือนก่อน

      Hi Starting very soon..working on it..Please stay tuned

    • @GauravRaj-bi9kg
      @GauravRaj-bi9kg หลายเดือนก่อน

      @@TechnosageLearning as soon as possible am waiting

  • @allasandeep1466
    @allasandeep1466 หลายเดือนก่อน

    class Solution { public int search(int[] nums, int target) { if(nums.length == 0 || nums == null){ return -1; } int n= nums.length; int i; for( i=0;i<n;i++){ if(nums[i] == target){ return i; } } return -1; } }

  • @zarahassan6058
    @zarahassan6058 หลายเดือนก่อน

    I'm working with a large dataset and the data is stored in json files. Json file Holds data,path is correct too,not parsing the data through any api still it gives the same error. Even i tried multiple ways. Why is this happening?

  • @pragatii9054
    @pragatii9054 หลายเดือนก่อน

    Thank you

  • @ka23853
    @ka23853 หลายเดือนก่อน

    Please share your code series of java

  • @dhruvavishwakarma253
    @dhruvavishwakarma253 หลายเดือนก่อน

    Why are you not solving in Leetcode , In Leetcode this code didn't pass all test cases

  • @maheshdurishetti7370
    @maheshdurishetti7370 หลายเดือนก่อน

    What if we give values like 1,2,3,3,3,3,5,6,6

  • @nandinideshpande1467
    @nandinideshpande1467 หลายเดือนก่อน

    very well explained!!

  • @navalprakash3727
    @navalprakash3727 หลายเดือนก่อน

    class Solution { public int search(int[] nums, int target) { for(int i=0; i<nums.length; i++){ if(nums[i]==target){ return i; } } return -1; } } this colde is also acceptable

    • @ChinmayPatil-22
      @ChinmayPatil-22 หลายเดือนก่อน

      bro it's time complexity is O(n) we have to do the question by O(log n)✌