Skip to content

Instantly share code, notes, and snippets.

View thekarthikprasad's full-sized avatar

Karthik Prasad thekarthikprasad

View GitHub Profile
@thekarthikprasad
thekarthikprasad / Strings.md
Last active May 13, 2025 14:42
Strings.md
@thekarthikprasad
thekarthikprasad / 3sum.md
Last active July 15, 2025 09:02
Data Structures - Arrays

Problem

Given an integer array nums, return all the triplets [nums[i], nums[j], nums[k]] such that i != j, i != k, and j != k, and nums[i] + nums[j] + nums[k] == 0.

Notice that the solution set must not contain duplicate triplets.