上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页
摘要: 728. Self Dividing NumbersA self-dividing number is a number that is divisible by every digit it contains.For example, 128 is a self-dividing number b... 阅读全文
posted @ 2017-11-24 16:57 link98 阅读(146) 评论(0) 推荐(0)
摘要: 1.安装可以去官网去下载:官网也可以去:CSDN下载链接安装的过程中附加选项可以都选,会安装wireshark,solarwinds等等,如果已经安装,可以根据提示取消。2.安装ios安装完抽后,打开软件会出 网络选择,取消就行。然后就需要安装ios,可以去这个网址下载:ios下载具体的安装步骤:i... 阅读全文
posted @ 2017-11-24 16:11 link98 阅读(473) 评论(0) 推荐(0)
摘要: 387. First Unique Character in a StringGiven a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return... 阅读全文
posted @ 2017-11-22 18:42 link98 阅读(129) 评论(0) 推荐(0)
摘要: 前一段时间电脑上的虚拟机打不开了,点击开机就一直黑屏,挂起时能够看到显示,但是开机就黑屏。百度了之后找到了解决方案:(我是第一种方案就解决了)(据说可能是wegame的锅。。。)方法1:命令行窗口—输入 netsh winsock reset,然后重启计算机。方法2:VM->Settings->Ha... 阅读全文
posted @ 2017-11-21 16:19 link98 阅读(2148) 评论(0) 推荐(1)
摘要: 167. Two Sum II - Input array is sortedGiven an array of integers that is already sorted in ascending order, find two numbers such that they add up to... 阅读全文
posted @ 2017-11-21 15:35 link98 阅读(105) 评论(0) 推荐(0)
摘要: leetcode-169. Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more tha... 阅读全文
posted @ 2017-11-21 09:00 link98 阅读(182) 评论(0) 推荐(0)
摘要: 455. Assign CookiesAssume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. E... 阅读全文
posted @ 2017-11-20 19:38 link98 阅读(161) 评论(0) 推荐(0)
摘要: Python-函数其他切片对于list和tuple来说,可能有事需要获得他们的子串,而Java等都提供了类似subString()的方法来获取子串,而对于Python来说则有一种方法叫 切片 例如: L = ['michel','Sarah','Bob','Tom'] 想要获取L的前... 阅读全文
posted @ 2017-11-20 16:21 link98 阅读(151) 评论(0) 推荐(0)
摘要: Python学习笔记说明所有的Python学习笔记都是我在学习廖雪峰的官方网站中的Python教程过程中记录下来的,所以大部分内容会与廖大大教程中的内容相重合,我只是想自己再写一遍,加深印象,作为记录,以便日后复习。 如果大家想学习Python,可以去廖大大的网站。 最后感谢廖大大的... 阅读全文
posted @ 2017-11-19 09:34 link98 阅读(71) 评论(0) 推荐(0)
摘要: Python-函数函数定义python中的定义函数使用 def ,依次写出函数名,参数和冒号: ,在缩进块中写函数体,return返回值 例:def my_abs(x): if x >= 0: return x else: return -xp... 阅读全文
posted @ 2017-11-19 09:21 link98 阅读(189) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 13 下一页