Special thanks to AlgoEngine and every other sources in the references for helping me to understand Leetcode Question 206: Reverse Linked List. |
What is the Problem? (PO)
I cannot understand how each line of the code works even though AlgoEngine has already made an incredible visual representation of the solution.
Therefore, I know that I just need to rewatch this part of the YouTube video for a few more times in the next few days and I will most likely understand it. I am just making use of “spaced repetition” to make my learning easier.
However, I know that I may also forget to do this step in the grand scheme of chores that I have to manage day to day. Therefore, this is when the “Clip Tool” on YouTube and this article come in really handy to remind me to revise this concept.
How I used the Clip Tool on YouTube? (LO)
This is where you can find the “Clip” tool on YouTube:
This is the 60 seconds video that I had clipped out from the whole video for my own reference:
What is a Linked List? (SO)
A linked list is a linear data structure in which elements are not stored in contiguous memory locations. The elements in a linked list are linked using pointers. A linked list consists of nodes where each node contains a data field and a reference link to the next node in the list.
Source: https://www.geeksforgeeks.org/data-structures/linked-list/
Why am I learning this? (TO)
Coding is a very broad subject. I believe that knowledge adds up. Concepts that appear seemingly unrelated to you right now may become correlated to you in the future.
I have written about my experiences learning coding as an adult in a 4-parts-series of articles and you can read more about it here.
I have also took a step further and video-blogged about my recent experiences learning coding again. You can find out more below:
Currently, I am treating these Leetcode questions as my toning exercises. These frequent small practices are helping me build my mental capability and technical skillsets so that I can incrementally build the next product and web services. Over the years, I have reaped numerous benefits and rewards from exercising regularly. I would attribute most of my positive attributes and experiences in life to the habit of exercising regularly (i.e. at least 10 mins a day, 4 times a week).
In case you are wondering what are the acronyms that I had listed next to the title of each paragraph, they are the acronyms of the five-step process, To, Lo, Po, So and Go!, introduced by Edward De Bono in his book, teach yourself to think. If you are keen to find out more about these acronyms, let me know in the comments section below. In the meanwhile, you can also check out this article which I have briefly written/mentioned about these acronyms last year.
Index and Glossary
1. Contiguous Memory Locations
2. Pointers