Alexandre Pokhodoun

Search

SearchSearch

Recent Writing

  • Longest increasing subsequence

    May 17, 2025

  • Minimum operations to make a subsequence

    May 17, 2025

  • Shortest subarray with sum at least k

    May 16, 2025

  • Count the number of fair pairs

    May 15, 2025

  • The skyline problem

    Apr 27, 2025

See 250 more →

Home

❯

leetcode

❯

String to integer atoi

String to integer atoi

Apr 25, 20251 min read

Link: https://leetcode.com/problems/string-to-integer-atoi

Solution:

Topics: parsing

Intuition
Not sure how the pass rate for this problem is 19%. I guess no one actually reads the problem statement. Solved it first try, will not even bother with an implementation.

review

Recent Writing

  • Longest increasing subsequence

    May 17, 2025

  • Minimum operations to make a subsequence

    May 17, 2025

  • Shortest subarray with sum at least k

    May 16, 2025

  • Count the number of fair pairs

    May 15, 2025

  • The skyline problem

    Apr 27, 2025

See 250 more →

Graph View

Backlinks

  • No backlinks found

  • GitHub
  • Linkedin