05 2016 档案

摘要:Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the 阅读全文
posted @ 2016-05-13 19:44 wdfwolf3 阅读(558) 评论(0) 推荐(0)
摘要:Given an integer (signed 32 bits), write a function to check whether it is a power of 4. Example:Given num = 16, return true. Given num = 5, return fa 阅读全文
posted @ 2016-05-12 12:49 wdfwolf3 阅读(422) 评论(0) 推荐(0)
摘要:Write 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 阅读全文
posted @ 2016-05-12 12:25 wdfwolf3 阅读(843) 评论(0) 推荐(0)
摘要:Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh". 个人博客:http://www.cnblogs.com/ 阅读全文
posted @ 2016-05-12 10:24 wdfwolf3 阅读(1836) 评论(0) 推荐(0)
摘要:个人博客地址:http://www.cnblogs.com/wdfwolf3/ update-alternatives是ubuntu系统用来进行软件版本切换的命令。比如系统中有几个版本的jdk,把这些命令所在的目录作为链接统一的映射到一个系统目录下,然后可以通过update-alternatives 阅读全文
posted @ 2016-05-09 14:56 wdfwolf3 阅读(1448) 评论(0) 推荐(0)
摘要:这个安装比较简单,网上也有数不清的教学,我这里记录以下,方便以后万一失忆了回来看看能想起来。个人博客http://www.cnblogs.com/wdfwolf3/ 1.下载安装 言归正传,我们需要到官方下载安装包(http://www.oracle.com/technetwork/java/jav 阅读全文
posted @ 2016-05-08 22:36 wdfwolf3 阅读(973) 评论(0) 推荐(0)