Double a Number Represented as a Linked List (LeetCode 2816) (2 Approaches)

Поділитися
Вставка
  • Опубліковано 15 чер 2024
  • Watch at 1.25x or 1.5x
    In this Video, i have explained the solution of Double a Number Represented as a Linked List problem. Here, i have explained the solution using reverse linked list and mathematically. You can learn how to implement and analyze the time and Space complexity
    Solution and Explaination of Leetcode POTD:
    Question: leetcode.com/problems/double-...
    By Reversing Linkedin List
    Solution1: leetcode.com/problems/double-...
    By Mathematically
    Solution2: leetcode.com/problems/double-...
    0:00 Understanding the Question
    1:30 Building Intution
    5:50 Implementation
    10:12 Time and Space Complexity
    11:10 Another Approach
    18:10 Implementation
    20:30 Time and Space Complexity
    #dsa #linkedlist #linkedlists #arrays #leetcodemedium #leetcode #array #DoubleaNumberRepresentedasaLinkedList #leetcodepotd #reverselinkedlist #stack #recursion #leetcode #leetcodetoday #potd #leetcodechallenge #leetcodesolutions #LeetCode2816 ‪@CodeWithARB‬

КОМЕНТАРІ •