Harpreet's Newsletter

Harpreet's Newsletter

Add Two Numbers

Amazon Interview Question

Harpreet Singh's avatar
Harpreet Singh
Nov 21, 2025
∙ Paid

Problem Overview

Difficulty: Medium
LeetCode Pattern: Linked Lists

You are given two non-empty linked lists representing two non-negative integers.

The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.

Note: You may assume the two numbers do not contain any leading z…

User's avatar

Continue reading this post for free, courtesy of Harpreet Singh.

Or purchase a paid subscription.
© 2025 Harpreet Singh · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture