摘要: 话说五天四夜的数学建模终于结束了。。。 珍爱生命,远离数模!哈哈~~ 其实对本次数模并没有抱太大希望,重在参与重在参与。 在实验室看见一组,两个男生意见不同,感觉很不愉快的样子;还有一组,组员都回去了就剩他一个人在默默地做,熬了两个晚上,论文还得自己写,也是蛮辛苦的了,队友说也不是我弄的,所以我也不 阅读全文
posted @ 2016-09-21 19:44 蒲公英的花朵 阅读(246) 评论(0) 推荐(0)
摘要: 1 package singlenumber136; 2 //Given an array of integers, every element appears twice except for one. Find that single one. 3 //Your algorithm should have a linear runtime complexity. Could you i... 阅读全文
posted @ 2016-09-13 21:30 蒲公英的花朵 阅读(152) 评论(0) 推荐(0)
摘要: 1 package plusOne66; 2 /* 3 Given a non-negative number represented as an array of digits, plus one to the number. 4 The digits are stored such that the most significant digit is at the h... 阅读全文
posted @ 2016-09-13 21:29 蒲公英的花朵 阅读(207) 评论(0) 推荐(0)
摘要: 1 package myAtoi8; 2 /* 3 * Implement atoi to convert a string to an integer. 4 Hint: Carefully consider all possible input cases. If you want a challenge, please do not see below and ask yourse... 阅读全文
posted @ 2016-09-13 21:28 蒲公英的花朵 阅读(368) 评论(0) 推荐(0)
摘要: 1 package isUgly263; 2 /* 3 * Write a program to check whether a given number is an ugly number. 4 5 Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6,... 阅读全文
posted @ 2016-09-13 21:27 蒲公英的花朵 阅读(167) 评论(0) 推荐(0)
摘要: 1 package isPowerOfThree326; 2 /* 3 Given an integer, write a function to determine if it is a power of three. 4 */ 5 public class Solution { 6 /* 7 //题目理解错误,理解成3次开方 8 public st... 阅读全文
posted @ 2016-09-13 21:26 蒲公英的花朵 阅读(216) 评论(0) 推荐(0)
摘要: 1 package isHappy202; 2 /* 3 * Write an algorithm to determine if a number is "happy". 4 A happy number is a number defined by the following process: 5 Starting with any positive integer, repl... 阅读全文
posted @ 2016-09-13 21:24 蒲公英的花朵 阅读(320) 评论(0) 推荐(0)
摘要: 1 package countPrimes204; 2 /* 3 * Description: 4 * Count the number of prime numbers less than a non-negative number, n. 5 */ 6 public class Solution { 7 //Time Limit Exceeded 8 ... 阅读全文
posted @ 2016-09-13 21:22 蒲公英的花朵 阅读(797) 评论(0) 推荐(0)
摘要: package addBinary67;/* Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100". */public class Solut 阅读全文
posted @ 2016-09-13 21:20 蒲公英的花朵 阅读(593) 评论(0) 推荐(0)
摘要: 1.GitHub 创建一个仓库 2.进入本地要管理的某个文件夹下,感觉目录的操作命令和linux里面差不多, $git init 此时该文件下就会多出一个.git的文件 3.进入要上传的仓库,右键git bash,添加远程地址 $ git remote add origin git@github.c 阅读全文
posted @ 2016-09-13 21:11 蒲公英的花朵 阅读(299) 评论(0) 推荐(0)