Learning about computers - 42024/11/22
Leetcode
New problems
1942. The Number of the Smallest Unoccupied Chair
Concepts: Heap
Quite a fun problem! Really good one to practice your heaps.
2028. Find Missing Observations
Concepts: Math, Array
Pretty easy math problem, easy implementation as well. (1942. was much harder)
2191. Sort the Jumbled Numbers
Concepts: Array, Sorting
This was my 100th Medium question, LFG! Two different solutions, I used the one that optimizes for time complexity with N Log N, but make sure to think about both.
Concepts: String, Math
This was my first hard problem, took me a while to code up, but managed to solve it!
Concepts: Stack
Took a while to solve again, and implementation was quite badly written, but still happy to have solved it.