Valid Palindrome (LeetCode 125)
The problem You get a string that can contain letters, digits, spaces and…
Tag
24 posts
The problem You get a string that can contain letters, digits, spaces and…
The problem You get an array of non-negative integers; each is the height of a…
The problem You get an array sorted in non-decreasing order and a . Exactly one…
The problem You get an integer array sorted in non-decreasing order. It may…
The problem You get an array containing only , and (red, white and blue…
The problem You get a string of words separated by spaces. Return the words in…
The problem You get the of a singly linked list. Reverse the list so the last…
The problem You get the of a singly linked list and an integer . Remove the n…
The problem You get the of a linked list sorted in ascending order. Remove…
The problem You get an integer array sorted in non-decreasing order. Rearrange…
The problem Given a string , count how many of its substrings are palindromes…
The problem You get the of a linked list. Reorder it so all nodes at odd…
The problem You get an integer array . Move all the s to the end in place, while…
The problem You get the heads of two singly linked lists, and . At some node…
The problem You get two lists of closed intervals, and . Each list is sorted…
The problem You get an array where is the height of a vertical wall at…
The problem You get two strings and that were typed into a text editor. The…
The problem Each child has a greed factor : the smallest cookie size that makes…
The problem You get an integer array . Return every unique triplet of values…
The problem You get an integer array and a . Return every unique quadruplet…
The problem You get an integer array (at least three numbers) and a . Choose…
There are thousands of coding-interview questions but only about eighteen…
Twelve problems that drill the two-pointer pattern from Lesson 3. The reps are…
Two pointers is the first pattern to master — it is simple, it appears…
