自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

moluchase的专栏

海阔凭鱼跃,天高任鸟飞

  • 博客(15)
  • 问答 (1)
  • 收藏
  • 关注

原创 Genymotion 安装教程

安装个软件也是一堆堆的错误,网上的教程也是五花八门的以我的安装经历将其汇总一下,并附上参考文章链接1.下载VirtualBox软件和Genymotion软件(直接百度就行)2.安装两个软件(先后顺序随便)3.在Genymotion中下载虚拟机,要求登入官网的账号,因此要先去官网注册个账号,链接如下http://www.genymotion.net/4.设置IP,

2016-01-15 02:36:44 445

原创 009Palindrome Number (C)

Determine whether an integer is a palindrome. Do this without extra space.题目要求不要开辟额外的空间回文数:逆序数和正序数不变,对于越界,如果逆序后越界说明不是回文数如果没有这个要求我立马会用字符串解决,不过这样的要求倒是学到一种新方法,将数字逆过来进行比较,对于越界的问题,将最高位和最低位比较,不相等就返回fa

2016-01-12 18:13:56 323

原创 Java基础学习笔记5

(20160111)装饰者设计模式:讲了一个以豆浆为主的消费记账系统主料:豆浆配料:糖  黑豆  五谷  鸡蛋之间组合后有纯豆浆,糖豆浆,糖加黑豆豆浆,等等看视频是跟着写的代码中写了一个接口,然后用两个类去实现,一个类返回(出口),一个类传入参数,其他的去继承传入参数的类我在想,既然都有豆浆,那么写一个接口,然后用豆浆类去实现接口,其他的类(如加糖,加鸡蛋)去继承豆浆类

2016-01-12 17:23:38 328

原创 Java基础学习笔记4

(20160111)Test13 缓存流package practice06;//缓存流import java.io.BufferedInputStream;import java.io.BufferedOutputStream;import java.io.BufferedReader;import java.io.BufferedWriter;import java.io.F

2016-01-12 14:47:31 227

原创 Java基础学习笔记3

今天听的是java的中级视频,倒是觉得好多东西只是会用,而不是理解,记之,以备后用(20160110)Test01 讲国际化,就是将一些文字(要求在不同的界面显示不同的语言)用变量代替,然后写到.properties文件中 下面程序是对用户名,密码,登入成功这样的字分别在中文,英文的界面进行分别显示功能package practice06;/** * 国际化 * 如果是要变化

2016-01-12 14:29:09 389

原创 008String to Integer (atoi) (C)

Implement atoi to convert a string to an integer.Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourself what are the possible input ca

2016-01-10 12:30:46 376

原创 007Reverse Integer (C)

Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321Here are some good questions to ask before coding. Bonus points for you if you have already thoug

2016-01-10 10:33:21 260

原创 java基础学习笔记2

视频一直都给我的感觉很不好,目前先了解大概喽(20160109)

2016-01-10 00:18:13 289

原创 006ZigZag Conversion (C)

P A H NA P L S I I GY I RAnd then read line by line: "PAHNAPLSIIGYIR"Write the code that will take a string and make this conversion given a number of rows:string convert(stri

2016-01-09 12:14:05 486

原创 Java基础学习笔记1

一边看codingke的视频,一边敲的代码,编辑于下,方便复习看之从继承到多态(花了大半天的时间,主要是还没有进入状态,感觉好像还有很多很多东西等着学,20160109)Test11主要是对super()的理解,父类中有带参的构造函数时,子类继承父类时要使用super()package practice05;/* * 继承 * 允许多继承,父类,子类,子类的子类 * 在子类进行

2016-01-09 00:35:40 300

原创 005Longest Palindromic Substring (C)

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.开始竟然看成最大的逆序子串了回文

2016-01-08 12:07:17 333

原创 004Median of Two Sorted Arrays (C)

There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).double findMedianSortedAr

2016-01-07 12:19:21 321

原创 003Longest Substring Without Repeating Characters (C)

Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. Fo

2016-01-06 16:18:54 300

原创 002Add Two Numbers (C)

You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and return it as a li

2016-01-04 23:37:43 257

原创 001Two Sum (C)

Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to the target, whe

2016-01-03 21:29:39 354

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除