File tree 1 file changed +35
-1
lines changed
1 file changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -62,4 +62,38 @@ square(5)
62
62
* Algorithm
63
63
* A set of instructions to complete a certain task
64
64
* Efficiency
65
- *
65
+ * How little resources an algorithm uses
66
+ * Big O, Big Theta, Big Omega
67
+ * Used to measure efficiency and uses asymptotic notation
68
+ * Asymptotic Notation
69
+ * How to functions compare for very large values of its inputs
70
+ * Data structures
71
+ * Stacks
72
+ * First in last out
73
+ * Push pop and peak are constant time
74
+ * Queue
75
+ * First in first out
76
+ * Push pop and peak are constant time
77
+ * Deque
78
+ * Double ended queue
79
+ * Array Lists
80
+ * More or less just lists
81
+ * Constant everything except insertion, deletion and traversing
82
+ * Linked Lists
83
+ * Train analogy
84
+ * Constant everything except accessing and traversing
85
+ * Sets
86
+ * Unordered dataset
87
+ * Everything only appears once
88
+ * Constant time for checking for membership
89
+ * Dictionary
90
+ * Key value pairs
91
+ * Everything is hashed and checking things is constant time
92
+ * ``` collections ```
93
+ * ``` namedTuple() ```
94
+ * Immutable dictionary
95
+ * ``` Counter ```
96
+ * Dictionary with only numbers for values
97
+ * Great for counting things, thus the name
98
+ * ``` defaultdict ```
99
+ * Dictionary with default value
You can’t perform that action at this time.
0 commit comments