Return array of running average of an input array with a given window
Used a sliding window approach to maintain the running average.
Return Any Path from Top-Left to Bottom-Right in a Binary Matrix (Not the Shortest Path)
Applied a BFS approach. I was storing the path directly in the loop using arrays.
The interviewer asked me to optimize the solution—possibly hinting at a HashMap approach but we were short on time, so we proceeded as-is.
Thanks to @codingwithminmer for the videos! ❤️