LeetCode - Jump Game

Question Definition

Given an array of non-negative integers, you are initially positioned at the first index of the array.

Each element in the array represents your maximum jump length at that position.

Determine if you are able to reach the last index.

More …

LeetCode - 3Sum Closest

Question Definition

Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exactly one solution.

More …

LeetCode - Unique Paths II

Question Definition

Follow up for “Unique Paths”:

Now consider if some obstacles are added to the grids. How many unique paths would there be?

An obstacle and empty space is marked as 1 and 0 respectively in the grid.

More …

LeetCode - Triangle

Question Definition

Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.

More …