Minimum Length of Anagram Concatenation (LeetCode 3138) (Weekly Contest 396) (Anagrams)

Поділитися
Вставка
  • Опубліковано 8 чер 2024
  • Watch at 1.25x or 1.5x
    In this Video, I explained the solution of Minimum Length of Anagram Concatenation. Here, i show you why GCD solution is wrong and explained you the correct approach with analyzing time and space complexity
    Solution and Explaination of Leetcode POTD:
    Question: leetcode.com/problems/minimum...
    Solution: leetcode.com/problems/minimum...
    0:00 Understanding the Question
    2:30 Building Intution
    03:50 GCD Approach (Wrong)
    5:00 Why GCD approach is wrong?
    07:55 Correct Approach
    13:30 Implementation
    20:35 Time and Space Complexity
    #dsa #weeklycontest #weeklycontest396 #leetcodecontest #leetcodeweeklycontest #arrays #strings #leetcodemedium #numbertheory #leetcode #array #string #anagrams #MinimumLengthofAnagramConcatenation #leetcodepotd #leetcode #leetcodetoday #potd #leetcodechallenge #leetcodesolutions #LeetCode3138 @CodeWithARB

КОМЕНТАРІ •