Hash Table
- Hashing
- Multi-Threading
- Recursion
- Sorting
- Bubble Sort
- Heap Sort
- Merge Sort
- Divide-and-Conquer
- Quick Sort
- Tree Sort
- Trees
- Binary Tree
- DLB Tree
- Huffman Tree
- Leap Year
if year modulo 400 is 0, then leap
else if year mod 100 = 0, then not leap
else if year mod 4 = 0, then leap
else not leap
- Day of the week
(3 - floor100(year) (mod 4))2
6 - 2(floor100(year) (mod 4)) = c
(c + ye[ar] + floor(ye[ar] / 4))(mod 7)
year / 12
(c + ye[ar] + floor(ye[ar] / 4) + m + day) mod 7
0 or 6, 3 or 2, 3, 6, 1, 4, 6, 2, 5, 0, 3, 5
function(year, month)
returns day_of_week
- Loop Logic
while(condition)
{
condition = false;
if (49)
{
53
71
}
if (51)
{
49
38
condition = true;
}
if (53)
{
61
65
}
}
*.tar archive of files
*.tar.gz compression (gzip)
*.tar.bz2 compression (bzip2)
*.gpg
*.gz
*.bz2