2022-11-28
|~12 min read
|2305 words
When trying to determine the trend in a set of data, there are a number of different solutions that can work. A naive approach often…
2022-11-28
|~5 min read
|882 words
Difference Arrays Imagine you’re given a problem that says for each “query” in the format add to all elements of an array of zeros with a…
2022-11-28
|~4 min read
|610 words
How would you rotate an array’s elements if you were given an array and a number of left rotations? (A left rotation is defined as moving…