[2,0] Weekly Projects: Code Patterns
Code Patterns
Stop rewriting code you wrote before. Stop fixing bugs that you debugged before. Reuse code whenever you can. Copy and paste.
Would building a library of coding tools make me more competitive in coding competitions? The answer must be yes, since it can't possibly make me less competitive, right?
Linked Lists
Linked lists are extremely common. You could imagine them as the slime monsters of the coding world. I'll be farming some LeetCode style slimes for the next couple of days.
Copy LeetCode's linked list class in c++ and implement/demonstrate a simple print method for linked lists.
Finish all LeetCode linked list problems.
Implement rest of basic linked list methods (i.e. length, head, tail, copy, etc.). Include time and space complexity. Write both iterative and recursive solutions if available.
Stacks and queues.
Select and implement 2 LeetCode problems as cleanly as possible.
Sort.
Not the best milestones (which could be my downfall), but I'm pretty confident they'll work out.














