A collection of my LeetCode solutions in Python, organised by data structures and algorithmic patterns. This repository documents my journey towards mastering problem-solving, improving algorithmic ...
Dataset with 216 rows (Text). Explore, preview and download it on Hugging Face.
You are given a list of integers nums and a number target. Find two different elements in the list whose sum equals target, and return their indices (positions), not the values. Rules: Exactly one ...