Harpreet's Newsletter

Harpreet's Newsletter

Combination Sum II

Meta Interview Question

Harpreet Singh's avatar
Harpreet Singh
Jan 19, 2026
∙ Paid

Problem Overview

Difficulty: Medium
LeetCode Pattern: Backtracking

Given an integer array of candidates and a target value, find all unique combinations in candidates where the candidate numbers sum to target.

Each number in candidates may only be used once in the combination.

Note: The solution set must not contain duplicate combinations.

Input:
· candidates…
User's avatar

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

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