- 博客(9)
- 资源 (8)
- 收藏
- 关注
转载 347.Top K Frequent Elements
347. Top K Frequent ElementsGiven a non-empty array of integers, return the k most frequent elements.For example,Given [1,1,1,2,2,3] and k = 2, return [1,2].Note: You may assume
2016-05-16 17:49:44
268
转载 oracle环境安装一些我的bugs
仅供参考!1、oracle database 安装步骤都差不多。2、pl/sql安装也是一样的,网上很多都能搜到。3、重点是pl是32位的,它不支持64位的oracle base,报错make sure 32 bits ..... 。我的解决办法是: ①首先打开pl,不用先登录,点击tools,选择preferences,看见Oracle Home 和 oci libra
2016-05-11 16:29:00
276
原创 341. Flatten Nested List Iterator
341. Flatten Nested List IteratorGiven a nested list of integers, implement an iterator to flatten it.Each element is either an integer, or a list -- whose elements may also be integers or o
2016-04-27 16:26:28
408
原创 343. Integer Break
343. Integer BreakGiven a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum product you can get.For e
2016-04-26 15:11:16
491
原创 26.Remove Duplicates from Sorted Array
26.Remove Duplicates from Sorted ArrayGiven a sorted array, remove the duplicates in place such that each element appear only once and return the new length.Do not allocate extra space for a
2016-04-26 11:54:46
211
原创 328. Odd Even Linked List
328. Odd Even Linked ListGiven a singly linked list, group all odd nodes together followed by the even nodes. Please note here we are talking about the node number and not the value in the nodes
2016-04-26 11:51:28
237
转载 345. Reverse Vowels of a String
345. Reverse Vowels of a StringWrite a function that takes a string as input and reverse only the vowels of a string.Example 1:Given s = "hello", return "holle".Example 2:Given s =
2016-04-26 11:30:13
277
转载 344. Reverse String
344. Reverse String Write a function that takes a string as input and returns the string reversed.Example:Given s = "hello", return "olleh".//把字符串进行翻转 利用i、j两个数进行标记下标public clas
2016-04-26 11:26:23
206
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人