2024-07-29
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
2024-07-25
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
2024-07-24
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
2024-07-18
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