--- title: Introduction description: Structured dependency spine based roadmap for solving DSA Problems on leetcode. icon: play --- ## 1. Linear Structures :::tip Data is read in one direction, from the first item to the last. The current position is recorded at each step. All later phases use this skill. ::: ## 2. Nodal & Grid :::tip The data is in separate parts. Each part points to the next part, or sits next to other parts on a flat surface. An index does not find the next item. The pointers or the neighbors give the path instead. ::: ## 3. Hierarchical :::tip Each part points to one or more parts below it. Those parts do the same. The method that solves a small part also solves the large part. This is recursion. ::: ## 4. Relational :::tip Each part can point to any other part. Loops can occur. The method must visit each part one time only. The order of the parts, or the distance between them, is not given in the data. The method finds it. ::: ## 5. Decision Space :::tip The data has no structure. The method makes one. Each choice makes a new branch. The problem sets the correct method: examine all branches, keep a record of the results already found, or make one choice and do not go back. :::