there are three main categories of Design Patterns as decreed by the ‘Gang of Four’1 (the authors of a seminal work Design Patterns | Elements of Reusable Object-Oriented Software). the content here is largely based on Dive into Design Patterns by Alexander Shvets2.
Notes
Table of Contents
Table of Contents
overview
the Unified Modelling Language (UML) is a standardised visual language for specifying, constructing, and documenting software systems.
git checkout
is deprecated.
git checkout --<file> will discard working tree changes.
recall that your working-tree is working-directory. similarly there is a staging area and a place to commit things.
finally, there is also the upstream repository that contains a copy of the code should shit go to fuck.
que
<figure><img src="https://ox-hugo.scripter.co/test/images/org-mode-unicorn-logo.png">
</figure>
He puts his claw against the divider. “Fist my bump.”
Andy Weir, Project Hail Mary
setting the stage
- Mental Focus
- Learn a programming language
- Learn Data structures and algorithms
- Complete Leetcode / programming practice
- Software Engineering Concepts
- Behavioural Practice
- Best Methods of Applying
- Interview Process & Internal Guidelines.
process for problem solving
- always read the problem statement twice.
- ask clarifying questions
- try think of different ways to solve the problem
- think end-to-end of the best solutions based on complexity
- write the algorithm from patterns in drawing
- code it out
- try and improve it once you think you’re finished.
- go through other solutions (even if you answered correctly)
problems
arrays
217. duplicate values | easy
Given an integer array nums, return true if any value appears at least twice in the array, and return false if every element is distinct.
Backlinks (2)
1. Wiki /wiki/
Knowledge is a paradox. The more one understand, the more one realises the vastness of his ignorance.