上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 76 下一页
摘要: Given two integers dividend and divisor, divide two integers without using multiplication, division and mod operator. Return the quotient after dividi 阅读全文
posted @ 2018-11-03 12:00 bernieloveslife 阅读(116) 评论(0) 推荐(0)
摘要: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This 阅读全文
posted @ 2018-11-03 12:00 bernieloveslife 阅读(99) 评论(0) 推荐(0)
摘要: Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not possib 阅读全文
posted @ 2018-11-03 12:00 bernieloveslife 阅读(112) 评论(0) 推荐(0)
摘要: Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: 1. Each row must contain the di 阅读全文
posted @ 2018-11-02 10:04 bernieloveslife 阅读(101) 评论(0) 推荐(0)
摘要: Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. Your algorithm's runtime com 阅读全文
posted @ 2018-11-02 10:04 bernieloveslife 阅读(107) 评论(0) 推荐(0)
摘要: Given an unsorted integer array, find the smallest missing positive integer. Example 1: Input: [1,2,0] Output: 3 Example 2: Input: [3,4, 1,1] Output: 阅读全文
posted @ 2018-11-02 10:04 bernieloveslife 阅读(107) 评论(0) 推荐(0)
摘要: Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate numb 阅读全文
posted @ 2018-11-02 10:04 bernieloveslife 阅读(104) 评论(0) 推荐(0)
摘要: Given n non negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2018-11-02 10:03 bernieloveslife 阅读(126) 评论(0) 推荐(0)
摘要: Note: This is a companion problem to the System Design problem: Design TinyURL. TinyURL is a URL shortening service where you enter a URL such as http 阅读全文
posted @ 2018-11-01 13:50 bernieloveslife 阅读(153) 评论(0) 推荐(0)
摘要: Given two non negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: In 阅读全文
posted @ 2018-11-01 13:50 bernieloveslife 阅读(105) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 76 下一页