π Reverse a Doubly Linked List | π§βπ» C++, Java, Python | S.C β‘οΈ O(1) | Doubly Linked List |POTD |GFG
πΉ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 formatsNo download links available.