Leetcode 59. How To Go Around A Square Matrix In Spiral OrderA simple example of using C++ switch2 min read·leetsolve.comJan 31, 2024
Leetcode 120. How To Find The Minimum Path From Top To Bottom Of A TriangleTwo dynamic programming techniques to solve Leetcode 120. Triangle. One has space complexity O(n^2). The other is O(n).4 min read·leetsolve.comJan 23, 2024
How To Find The Longest Substring Without Repeating CharactersAn example of using a sliding window approach and an unordered map to track character positions3 min read·leetsolve.comJan 16, 2024
How To Find The Maximal Subarray Having Distinct ElementsA simple C++ solution to Leetcode 1695. Maximum Erasure Value using a sliding window approach and prefix sums.2 min read·leetsolve.comJan 9, 2024
Common Mistakes in Coding Interviews and How to Avoid ThemStrategies to avoid them will help you excel in your following technical interview6 min read·leetsolve.comJan 2, 2024