Leetcode 59. How To Go Around A Square Matrix In Spiral Order
A simple example of using C++ switch
Jan 31, 20242 min read533

Search for a command to run...
Articles tagged with #leetcode
A simple example of using C++ switch

An example of using a sliding window approach and an unordered map to track character positions

The math behind Leetcode 342. Power of Four.

A C++ solution to Leetcode 804. Unique Morse Code Words using mapping and std::unordered_set to keep track of unique representations.

By iterating digit by digit, and calculating the sum and carry, it handles scenarios for the lengths of the input lists and any remaining carry values

A step-by-step approach to effectively solve coding challenges, prepare for coding interviews, and land dev jobs.
