Back to Browse

πŸ”— Reverse a Doubly Linked List | πŸ§‘β€πŸ’» C++, Java, Python | S.C ➑️ O(1) | Doubly Linked List |POTD |GFG

425 views
Nov 18, 2023
9:53

πŸ”ΉLink to the question: https://www.geeksforgeeks.org/problems/reverse-a-doubly-linked-list/1 πŸ”ΈC++ code: https://github.com/AlgoZenithNITC/GFG_POTD_Solutions_AlgoZenithNITC/blob/main/Reverse_A_Doubly_Linkedlist.cpp πŸ”ΈJava code: https://github.com/AlgoZenithNITC/GFG_POTD_Solutions_AlgoZenithNITC/blob/main/Reverse_A_Doubly_Linkedlist.java πŸ”ΈPython code: https://github.com/AlgoZenithNITC/GFG_POTD_Solutions_AlgoZenithNITC/blob/main/Reverse_A_Doubly_Linkedlist.py Hi everyone, welcome to my channel where I upload the video solutions to the "Problem of the day" that is asked daily on Geeksforgeeks. Today's problem is "Reverse a Doubly Linked List" which is an easy level question and has been asked by De Shaw and Adobe. In this video, I will explain a simple iterative approach to solve this problem which is both time efficient, O(n) n is the number of nodes and space efficient, O(1). 00:00 Introductory note 00:08 Introduction to the problem 01:05 Understanding the problem 03:34 Framing the approach to solve the problem 06:09 Going through the code I hope you enjoyed this video and learned something new. If you did, please give it a thumbs up πŸ‘ and share it with your friends who are also interested in coding. And don't forget to subscribe to my channel and hit the bell icon πŸ”” to get notified whenever I upload a new video. Thank you for watching and see you in the next one! 😊 ╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗ β•‘β•šβ•£β•‘β•‘β•‘β•šβ•£β•šβ•£β•”β•£β•”β•£β•‘β•šβ•£β•β•£ β• β•—β•‘β•šβ•β•‘β•‘β• β•—β•‘β•šβ•£β•‘β•‘β•‘β•‘β•‘β•β•£ β•šβ•β•©β•β•β•©β•β•©β•β•©β•β•©β•β•šβ•©β•β•©β•β• #dsa #amazon #paytm #programming #gfg #gfgpotd #problemsolving #coding #softwareengineer #faang #microsoft #competitiveprogramming #dsasheet #interviewpreparation #coding #helpajobseeker #gfg #geeksforgeeks #leetcode #potd #coding #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #india #easyexplaination #interview #interviewtips #interviewpreparation #interview_ds_algo #github #data #google #video #vistu #financial #leetcode #leetcodechallenge #leetcodedailychallenge #leetcodesolutions #leetcodequestionandanswers #leetcodequestions #leetcodesolution #leetcodethehardway #substring #dynamicprogramming #strings #c #java #python #codinginterviews #problemoftheday #countnumbers #homogenous #algorithm #datastructures #english #greedy #spacecomplexity #timecomplexity #goldmansachs #google #linkedin #linkedintutorial #bitmanipulation #bits #competitiveprogramming #apple #lcs #tabulation #bloomberg #microsoft #subsequence #ibm #binarytree #linkedlist

Download

0 formats

No download links available.

πŸ”— Reverse a Doubly Linked List | πŸ§‘β€πŸ’» C++, Java, Python | S.C ➑️ O(1) | Doubly Linked List |POTD |GFG | NatokHD