У нас вы можете посмотреть бесплатно HackerRank - Reverse Linked List | Full solution with visuals | Study Algorithms или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
A very popular and famous interview question. In this problem you are given a single Linked List which needs to be reversed such that the last element becomes the first element of the list. You can have several ways to approach this problem. One way could be to create an entirely new list in a reversed order or we can take advantage of the node addresses to manipulate. This video shows you animations which will help you to understand the concept behind it. Along with it, we also write the code. Chapters: 00:00 - Intro 01:11 - Problem statement and description 02:01 - Method 1: Creating a new reversed list (using stacks) 03:59 - Code using stacks 06:59 - Method 2: Efficient solution by manipulating next nodes 08:41 - Dry-run of Code 13:25 - Final Thoughts Actual problem on HackerRank: https://www.hackerrank.com/challenges... 📚 Links to topics I talk about in the video: Stack Data Structure: • Stack Data Structure explained with animat... Linked Lists: • Linked List Data Structure explained with ... 📘 A text based explanation is available at: Code on Github: https://github.com/nikoo28/java-solut... Test-cases on Github: https://github.com/nikoo28/java-solut... 📖 Reference Books: Starting Learn to Code: https://amzn.to/36pU0JO Favorite book to understand algorithms: https://amzn.to/39w3YLS Favorite book for data structures: https://amzn.to/3oAVBTk Get started for interview preparation: https://amzn.to/39ysbkJ 🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg... 🎥 My Recording Gear: Recording Light: https://amzn.to/3pAqh8O Microphone: https://amzn.to/2MCX7qU Recording Camera: https://amzn.to/3alg9Ky Tablet to sketch and draw: https://amzn.to/3pM6Bi4 Surface Pen: https://amzn.to/3pv6tTs Laptop to edit videos: https://amzn.to/2LYpMqn 💻 Get Social 💻 Follow on Facebook at: / studyalgos Follow on Twitter at: / studyalgorithms Follow on Tumblr at: / studyalgos Subscribe to RSS feeds: https://studyalgorithms.com/feed/ Join fan mail: http://eepurl.com/g9Dadv #hackerrank #programming #interview