What I Aim To Do With This Blog

--

I aim to answer common Leetcode questions in a similar way to how I would in a standard interview setting. To do so, I will approach each problem in this general order:

  1. [Problem Screenshot]
  2. Restating Info We’re Already Given
  3. Questions/Clarifications to Possibly Ask Interviewer (If starting information we’re given isn’t sufficient to begin):
  4. Discuss Naive Solution
  5. Discuss Alternative Solution
  6. Discuss Optimal Solution
  7. Code Optimal Solution
  8. Runtime/Space Complexity
  9. Test Cases

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

stevecaoleetcodes
stevecaoleetcodes

Written by stevecaoleetcodes

Popular leetcode problems and their explanations

No responses yet

Write a response