Ethos Typos
Ethos Typos
  • Видео 171
  • Просмотров 34 269
2425. Bitwise XOR of All Pairings | Leetcode Daily Challenge
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C++. Learn coding tips, tricks, and strategies to crack technical interviews at top companies like Google, Amazon, and Facebook. Don’t forget to subscribe for daily LeetCode solutions and coding tips!
You can also download our Leetcode ally app to access Leetcode in your mobile phone with amazing additional features - play.google.com/store/apps/details?id=com.leetos
#leetcode #coding #inter...
Просмотров: 80

Видео

2429. Minimize XOR | Leetcode Daily Challenge
Просмотров 1802 часа назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
3223. Minimum Length of String After Operations | Leetcode Daily Challenge
Просмотров 1527 часов назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
2116. Check if a Parentheses String Can Be Valid | Leetcode Daily Challenge
Просмотров 1509 часов назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
1400. Construct K Palindrome Strings | Leetcode Daily Challenge
Просмотров 20612 часов назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
916. Word Subsets | Leetcode Daily Challenge
Просмотров 17614 часов назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
2185 Counting Words With a Given Prefix | Brute Force | Trie | Prefix Tree| Leetcode Daily Challenge
Просмотров 12616 часов назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
3042. Count Prefix and Suffix Pairs I | Leetcode Daily Challenge
Просмотров 16119 часов назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
1408. String Matching in an Array | Leetcode Daily Challenge
Просмотров 22721 час назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
1769. Minimum Number of Operations to Move All Balls to Each Box | Leetcode Daily Challenge
Просмотров 207День назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
2381. Shifting Letters II | Leetcode Daily Question
Просмотров 292День назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
1930. Unique Length 3 Palindromic Subsequences | Leetcode Daily Challenge
Просмотров 217День назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
2270. Number of Ways to Split Array | Leetcode Daily Challenge
Просмотров 177День назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
2559. Count Vowel Strings in Ranges | Leetcode Daily Challenge
Просмотров 20914 дней назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
1422. Maximum Score After Splitting a String | 3 Approaches | Leetcode Daily Challenge
Просмотров 25414 дней назад
Welcome to my channel! In this video, I have solved today’s LeetCode Daily Challenge with a step-by-step explanation and optimal solution. Whether you’re preparing for FAANG interviews or improving your problem-solving skills, my videos cover coding interview questions, data structures, and algorithms in C . Learn coding tips, tricks, and strategies to crack technical interviews at top companie...
983. Minimum Cost For Tickets | Leetcode Daily Challenge
Просмотров 17314 дней назад
983. Minimum Cost For Tickets | Leetcode Daily Challenge
2466. Count Ways To Build Good Strings | Leetcode Daily Challenge
Просмотров 16514 дней назад
2466. Count Ways To Build Good Strings | Leetcode Daily Challenge
1639. Number of Ways to Form a Target String Given a Dictionary | Leetcode Daily Challenge
Просмотров 10414 дней назад
1639. Number of Ways to Form a Target String Given a Dictionary | Leetcode Daily Challenge
689. Maximum Sum of 3 Non Overlapping Subarrays | Leetcode Daily Challenge
Просмотров 24114 дней назад
689. Maximum Sum of 3 Non Overlapping Subarrays | Leetcode Daily Challenge
1014. Best Sightseeing Pair | Leetcode Daily Challenge
Просмотров 16214 дней назад
1014. Best Sightseeing Pair | Leetcode Daily Challenge
45. Jump Game II | Leetcode Daily Challenge
Просмотров 6121 день назад
45. Jump Game II | Leetcode Daily Challenge
55. Jump Game | Leetcode Daily Challenge
Просмотров 4321 день назад
55. Jump Game | Leetcode Daily Challenge
494. Target Sum | Leetcode Daily Challenge
Просмотров 19021 день назад
494. Target Sum | Leetcode Daily Challenge
3203. Find Minimum Diameter After Merging Two Trees | Leetcode Daily Challenge | Problem of the day
Просмотров 21421 день назад
3203. Find Minimum Diameter After Merging Two Trees | Leetcode Daily Challenge | Problem of the day
2471. Minimum Number of Operations to Sort a Binary Tree by Level | Leetcode Daily Challenge
Просмотров 15921 день назад
2471. Minimum Number of Operations to Sort a Binary Tree by Level | Leetcode Daily Challenge
Find Building Where Alice and Bob Can Meet | Leetcode
Просмотров 33821 день назад
Find Building Where Alice and Bob Can Meet | Leetcode
Maximum Number of K Divisible Components | Leetcode
Просмотров 16021 день назад
Maximum Number of K Divisible Components | Leetcode
Reverse Odd Levels of Binary Tree | Leetcode
Просмотров 12921 день назад
Reverse Odd Levels of Binary Tree | Leetcode
Max Chunks To Make Sorted | 3 Approaches | Leetcode
Просмотров 14028 дней назад
Max Chunks To Make Sorted | 3 Approaches | Leetcode
Final Prices With a Special Discount in a Shop | Leetcode
Просмотров 12228 дней назад
Final Prices With a Special Discount in a Shop | Leetcode

Комментарии

  • @touhidiutcse
    @touhidiutcse 3 часа назад

    Like always, loved your explanation, liked the video, and added a comment as gratitude! 💝

  • @newbie6449
    @newbie6449 22 часа назад

    int setBits(int& a) { int cnt = 0; int temp = a; while (temp) { if (temp & 1)cnt++; temp = temp >> 1; } return cnt; }

  • @touhidiutcse
    @touhidiutcse 22 часа назад

    Thank you so much for this great explanation!

  • @touhidiutcse
    @touhidiutcse 3 дня назад

    Thank you, ma'am. I love your approach to studying the problem statement & come up with the observations to determine the next steps to solution

  • @touhidiutcse
    @touhidiutcse 4 дня назад

    Thank you so much for such a great explanation, ma'am! 🙌

  • @mohitkrtech
    @mohitkrtech 4 дня назад

    Good Explanation keep it up

  • @touhidiutcse
    @touhidiutcse 5 дней назад

    Thank you so much for such a great explanation ♥!

  • @poshalabharath241
    @poshalabharath241 5 дней назад

    good explanation

  • @entertainmentshelf123
    @entertainmentshelf123 6 дней назад

    Very good explanation How to learn explain like u

  • @touhidiutcse
    @touhidiutcse 6 дней назад

    Thank you 👍

  • @touhidiutcse
    @touhidiutcse 6 дней назад

    Thank you 🙏

  • @touhidiutcse
    @touhidiutcse 8 дней назад

    Thank you very much, alternative startswith & endswith methods also work here!

  • @Flash-qr5oh
    @Flash-qr5oh 8 дней назад

    Do NOT discontinue doing this please

  • @touhidiutcse
    @touhidiutcse 9 дней назад

    Thank you, ma'am. I understood your explanation and went ahead with solving it with Set for efficiency in lookup, let me share: - Sort the array by length - Convert the sorted list into a Set - Run a for loop for each word inside words list - Pop the item we are searching from the Set - Lookup into the Set and try to find that word's existence as a sub-sequence in the remainder of words - Apply break once found a match and append the word into the output/result array

  • @YashKumar-nn9mc
    @YashKumar-nn9mc 9 дней назад

  • @xerxes_on
    @xerxes_on 9 дней назад

    ❤❤

  • @touhidiutcse
    @touhidiutcse 10 дней назад

    Thank you 🙏

  • @YashKumar-nn9mc
    @YashKumar-nn9mc 10 дней назад

  • @newbie6449
    @newbie6449 10 дней назад

    how am I suppose to come up with this in an interview ??? luck game it is.

  • @newbie6449
    @newbie6449 10 дней назад

    class Solution { public: string shiftingLetters(string s, vector<vector<int>>& shifts) { string temp=s; for(int i=0;i<shifts.size();i++) { int start=shifts[i][0]; int end=shifts[i][1]; int direction=shifts[i][2]; if(direction) { for(int j=start;j<=end;j++) { int x=temp[j]; if(x=='z') temp[j]='a'; else temp[j]++; } } else { for(int j=start;j<=end;j++) { int x=temp[j]; if(x=='a') temp[j]='z'; else temp[j]--; } } } return temp; } }; brute force. gives TLE. So i am here

  • @mr_kat1065
    @mr_kat1065 11 дней назад

    I can understand the problem but i donno how to implement it in code😢.

    • @ethostypos
      @ethostypos 10 дней назад

      if you practice implementing more and more problems, you will gradually be able to write the code as well.

  • @touhidiutcse
    @touhidiutcse 11 дней назад

    Thank you 😊

  • @YashKumar-nn9mc
    @YashKumar-nn9mc 11 дней назад

    ♥♥♥♥

  • @LawZist
    @LawZist 12 дней назад

    Great!

  • @YashKumar-nn9mc
    @YashKumar-nn9mc 12 дней назад

    ♥♥♥

  • @touhidiutcse
    @touhidiutcse 13 дней назад

    Thank you, ma'am!

  • @YashKumar-nn9mc
    @YashKumar-nn9mc 13 дней назад

    ❤❤

  • @touhidiutcse
    @touhidiutcse 14 дней назад

    Thank you, and happy new year, ma'am. The Greatest aspect of your videos is how awesome you explain the problem statement and gradually proceed towards building the solution!

    • @ethostypos
      @ethostypos 12 дней назад

      Thank you and Happy New Year to you too! 🎉

  • @INSPIRING_ROHIT
    @INSPIRING_ROHIT 14 дней назад

    Loved your explanation ❤

  • @YashKumar-nn9mc
    @YashKumar-nn9mc 14 дней назад

  • @touhidiutcse
    @touhidiutcse 14 дней назад

    Thank you so much, ma'am!

  • @stromeditz69
    @stromeditz69 15 дней назад

    Happy new year ❤🎉

    • @ethostypos
      @ethostypos 15 дней назад

      Happy New Year to you too! 🎉

  • @touhidiutcse
    @touhidiutcse 16 дней назад

    Thank you so much for this great explanation & keeping the implementation simple, ma'am!

  • @touhidiutcse
    @touhidiutcse 17 дней назад

    Thank you, ma'am. I think the regular recursive approach to solve a big problem and memoization of the sub-problems is the Top-down approach & the Bottom-up approach basically indicates solving all subproblems iteratively with Tabulation. In summary: - Top-Down: Recursive + Memoization - Bottom-Up: Iterative + Tabulation

  • @touhidiutcse
    @touhidiutcse 17 дней назад

    Thank you, ma'am!

  • @touhidiutcse
    @touhidiutcse 18 дней назад

    Thanks for explaining. Instead of pure DP, I went ahead with DP+Greedy approach by initially preparing the max sub-array sum similar to what you explained here. However, next I built a left max sub-array & right sub-array; Furthermore, the solution was retrieved by optimally choosing the middle sub-array! Anyway, I have plan to learn the approach that you explained too.

  • @ayushparwal2004
    @ayushparwal2004 19 дней назад

    thanks for helping.

  • @bkjaipal1126
    @bkjaipal1126 19 дней назад

    Well Explained!!

  • @touhidiutcse
    @touhidiutcse 19 дней назад

    Thank you so much!

  • @newbie6449
    @newbie6449 19 дней назад

    Nhi samjha :(

  • @touhidiutcse
    @touhidiutcse 20 дней назад

    Thanks so much for covering recursive approach alongside optimizing it by memoization & dynamic programming, Wow!

  • @newbie6449
    @newbie6449 20 дней назад

    my recusive solution class Solution { int tryAllWays(int index,int &cnt,vector<int>& nums,int sum,int target) { if(index==nums.size()) { if(sum==target) { cnt+=1; return cnt; } return cnt; } // sum+=nums[index]; tryAllWays(index+1,cnt,nums,sum+nums[index],target); tryAllWays(index+1,cnt,nums,sum-nums[index],target); return cnt; } public: int findTargetSumWays(vector<int>& nums, int target) { ios_base::sync_with_stdio(false); cin.tie(nullptr); cout.tie(nullptr); int cnt=0; return tryAllWays(0,cnt,nums,0,target); } };

  • @newbie6449
    @newbie6449 21 день назад

    Jump game solution was so elegant 😍

  • @newbie6449
    @newbie6449 21 день назад

    I am struggling with DP questions. Any sources you wanna mention from where you learnt it ? Last question Target sum I was able come up with the recursion solution but not the dp one. 😢

  • @newbie6449
    @newbie6449 22 дня назад

    👍

  • @touhidiutcse
    @touhidiutcse 23 дня назад

    Really appreciate your effort to explain the problem statement and solutions in small breakdowns 😇

  • @touhidiutcse
    @touhidiutcse 24 дня назад

    Thank you so much!

  • @touhidiutcse
    @touhidiutcse 24 дня назад

    Thank you so much for the explanation!

  • @touhidiutcse
    @touhidiutcse 25 дней назад

    Thank you for the explanation, however, I went ahead with DFS for this problem!

    • @ethostypos
      @ethostypos 24 дня назад

      That's another valid approach, good job!

    • @touhidiutcse
      @touhidiutcse 24 дня назад

      @ethostypos Thank you!

  • @newbie6449
    @newbie6449 26 дней назад