上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 54 下一页
摘要: Given n balloons, indexed from 0 to n-1. Each balloon is painted with a number on it represented by array nums. You are asked to burst all the balloon 阅读全文
posted @ 2016-07-24 04:29 北叶青藤 阅读(234) 评论(0) 推荐(0)
摘要: The size of the hash table is not determinate at the very beginning. If the total size of keys is too large (e.g. size >= capacity / 10), we should do 阅读全文
posted @ 2016-07-23 05:53 北叶青藤 阅读(366) 评论(0) 推荐(0)
摘要: Implement function atoi to convert a string to an integer. If no valid conversion could be performed, a zero value is returned. If the correct value i 阅读全文
posted @ 2016-07-23 05:22 北叶青藤 阅读(222) 评论(0) 推荐(0)
摘要: Calculate the a^n % b where a, b and n are all 32bit integers. Calculate the a^n % b where a, b and n are all 32bit integers. Calculate the a^n % b wh 阅读全文
posted @ 2016-07-23 04:57 北叶青藤 阅读(260) 评论(0) 推荐(0)
摘要: Check Power of 2 Using O(1) time to check whether an integer n is a power of 2. Check Power of 2 Using O(1) time to check whether an integer n is a po 阅读全文
posted @ 2016-07-23 02:59 北叶青藤 阅读(209) 评论(0) 推荐(0)
摘要: Regular Expression Matching Implement regular expression matching with support for '.' and '*'. '.' Matches any single character. '*' Matches zero or 阅读全文
posted @ 2016-07-23 02:51 北叶青藤 阅读(215) 评论(0) 推荐(0)
摘要: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a target va 阅读全文
posted @ 2016-07-22 10:59 北叶青藤 阅读(171) 评论(0) 推荐(0)
摘要: Given an directed graph, a topological order of the graph nodes is defined as follow: For each directed edge A -> B in graph, A must before B in the o 阅读全文
posted @ 2016-07-22 09:56 北叶青藤 阅读(200) 评论(0) 推荐(0)
摘要: The structure of Expression Tree is a binary tree to evaluate certain expressions.All leaves of the Expression Tree have an number string value. All n 阅读全文
posted @ 2016-07-22 07:53 北叶青藤 阅读(452) 评论(0) 推荐(0)
摘要: Given two arrays of length m and n with digits 0-9 representing two numbers. Create the maximum number of length k <= m + n from digits of the two. Th 阅读全文
posted @ 2016-07-22 04:15 北叶青藤 阅读(238) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 54 下一页