A binary unit which is either 0 or 1
bit
A FIFO Container
Queue
Finding an item in an array
O(n)
Linear
int a = 4;
int b = a;
b += 4;
// What is the value of b?
8
The entire C++ standard library is available in this namespace
std::
The maximum value for an integer in C++
1) 2,147,483,647?
2) (2^31) - 1
3) INT_MAX?
A FILO Container
stack
Removing an item from an array
O(N)
linear
int a = 4;
int* b = &a;
++*b--; // what is the value of a?
5
Feature that allows a class to "borrow" the attributes and methods from other classes
Inheritance
An error while compiling
Compiler Error
A function used to deterministically place keys into an array
Hash Function
Push back to a vector.
O(1)*
Three pieces of a recursive function
1) base
2) visit
3) recurse
auto
Occurs when your recursive function never stops
Stack Overflow
1) std::multimap
2) std::unordered_multimap
Find the first even number in a doubly linked list
O(n)
Linear
char foo = 'a';
char bar = 'b';
int val = bar - foo;
// What is the value of val?
1
The number of keywords in C++
example: (if, for, while, int)
95
These companies were once known collectively as "FAANG"
Facebook, Apple, Amazon, Netflix, Google
This structure can be thought of as a "two-dimensional linked list"
Tree
Finding an item in an AVL Tree
O(logn)
Logarithmic
unsigned a = -1;
// What is the value of a?
4,294,967,295
(2^32) - 1
Two C++ compilers
1) gcc (g++)
2) Clang