Data Structures & Algorithms
100+ curated problems from top tech interviews
100+ curated problems from top tech interviews
4 problems found
A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it reads the ...
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]...
You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the ith line are (i, 0) and (i, hei...
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining....