Back to blog
Feb 17, 2024
1 min read

Algorithms: Two Sum

Solve two sum problem

Two Sum

This is the first problem of leetcode (possibly the easiest one as well). Let’s take a look at the coding approach.

A working code: