Leetcode 680: Valid Palindrome II Posted on June 20, 2018 Question Given a non-empty string s, you may delete at most one character. Judge whether you can make it a palindrome. [Read More] Tags: Leetcode Hard Review
Leetcode 125: Valid Palindrome Posted on June 20, 2018 Question Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. [Read More] Tags: Leetcode
Leetcode 122: Best Time to Buy and Sell Stock II Posted on June 20, 2018 Question Say you have an array for which the ith element is the price of a given stock on day i. [Read More] Tags: Leetcode
Leetcode 121: Best Time to Buy and Sell Stock Posted on June 20, 2018 Question Say you have an array for which the ith element is the price of a given stock on day i. [Read More] Tags: Leetcode
Leetcode 120: Triangle Posted on June 20, 2018 Question Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. [Read More] Tags: Leetcode
Leetcode 119: Pascal's Triangle II Posted on June 20, 2018 Question Given a non-negative index k where k ≤ 33, return the \(k^{th}\) index row of the Pascal’s triangle. [Read More] Tags: Leetcode
Leetcode 117: Populating Next Right Pointers in Each Node II Posted on June 20, 2018 Question Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } [Read More] Tags: Leetcode
Leetcode 116: Populating Next Right Pointers in Each Node Posted on June 20, 2018 Question Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; } [Read More] Tags: Leetcode
Leetcode 118: Pascal's Triangle Posted on June 17, 2018 Question Given a non-negative integer numRows, generate the first numRows of Pascal’s triangle. [Read More] Tags: Leetcode
Leetcode 114: Flatten Binary Tree to Linked List Posted on June 17, 2018 Question Given a binary tree, flatten it to a linked list in-place. [Read More] Tags: Leetcode
Leetcode 437: Path Sum III Posted on June 17, 2018 Question You are given a binary tree in which each node contains an integer value. [Read More] Tags: Leetcode
Leetcode 113: Path Sum II Posted on June 17, 2018 Question Given a binary tree and a sum, find all root-to-leaf paths where each path’s sum equals the given sum. [Read More] Tags: Leetcode
Leetcode 112: Path Sum Posted on June 17, 2018 Question Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. [Read More] Tags: Leetcode
Leetcode 111: Minimum Depth of Binary Tree Posted on June 17, 2018 Question Given a binary tree, find its minimum depth. [Read More] Tags: Leetcode
Leetcode 110: Balanced Binary Tree Posted on June 17, 2018 Question Given a binary tree, determine if it is height-balanced. [Read More] Tags: Leetcode