摘要: Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function 阅读全文
posted @ 2017-08-04 16:04 两猿社 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 基础知识: ubuntn中的/表示根目录,包括bin,mnt等文件夹 /home表示家目录,/home/user表示用户下的家目录,/root表示root目录 常用指令: 进入root : sudo su 或者 sudo -i,其中sudo su之后的路径和目录是/home/user,sudo -i 阅读全文
posted @ 2017-08-04 15:00 两猿社 阅读(202) 评论(0) 推荐(0) 编辑
摘要: Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, giv 阅读全文
posted @ 2017-08-04 09:46 两猿社 阅读(99) 评论(0) 推荐(0) 编辑