Andrew Healey 1/16/2019

Leetcode - Episode 16 - Pretty Efficient (3 x E)

Read Original

The article details the author's experience solving three LeetCode algorithm problems, focusing on efficiency and patterns. It includes Python code and analysis for 'Flipping an Image' (matrix manipulation), 'Leaf-Similar Trees' (tree traversal and comparison), and 'Maximum Depth of N-ary Tree' (depth-first search). The author discusses runtime complexity, refactoring, and solution optimization.

Leetcode - Episode 16 - Pretty Efficient (3 x E)

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week