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&nb…
My memo and playground
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&nb…
You are given an integer array height of length n. There are n vertical lines drawn such that the two endpoints of the i…
Given a 1-indexed array of integers numbers that is already sorted in non-decreasing order, find two numbers such that they a…
Given two strings s and t, return true if s is a subsequence of t, or false otherwise. A&n…
A phrase is a palindrome if, after converting all uppercase letters into lowercase letters and removing all non-alphanumeric characters, it …