String

practiceLeetCode 334 - Reverse StringLeetCode 541 - Reverse String IILeetCode 151 - Reverse Words in a String Notes revert a string twice will stay unchanged, use this trick on s...

Read More

Hash Table

Hash Table TheoryHash table is a data structure that can be used to detect if an element appears in a collection. It uses a hash function to compute an index into an array of bucke...

Read More

List

List TheoryA list is a collection of items stored at non-contiguous memory locations. The list elements can be accessed using an index. 1234567struct Node { int data; No...

Read More

Array

Array TheoryAn array is a collection of items stored at contiguous memory locations. The array elements can be accessed using an index. The index of the first element of the array ...

Read More