摘要:
Given a string, find the first non repeating character in it and return it's index. If it doesn't exist, return 1. Examples: Note: You may assume the 阅读全文
摘要:
53. Maximum Subarray Difficulty: Medium Find the contiguous subarray within an array (containing at least one number) which has the largest sum. For e 阅读全文
摘要:
题目描述 Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given t 阅读全文
摘要:
题目 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 sp 阅读全文
摘要:
题目 55. Jump Game Given an array of non negative integers, you are initially positioned at the first index of the array. Each element in the array repr 阅读全文
摘要:
题目 Given a m x n grid filled with non negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its pat 阅读全文