alex_bn_lee

导航

上一页 1 ··· 136 137 138 139 140 141 142 143 144 ··· 247 下一页

2019年9月24日 #

【439】Tweets processing by Python

摘要: 参数说明: coordinates:Represents the geographic location of this Tweet as reported by the user or client application. The inner coordinates array is forma 阅读全文

posted @ 2019-09-24 08:56 McDelfino 阅读(265) 评论(0) 推荐(0)

2019年9月18日 #

【438】Python 处理文件

摘要: 1. 读取文件,计算 tweets 数目 python中readline判断文件读取结束的方法 line == '' python:如何检查一行是否为空行 line == '\n' or line == '\r\n' line == '' line == '\n' or line == '\r\n' 阅读全文

posted @ 2019-09-18 12:22 McDelfino 阅读(158) 评论(0) 推荐(0)

2019年9月10日 #

【437】Binary search algorithm,二分搜索算法

摘要: Complexity: O(log(n)) Ref: Binary search algorithm or 二分搜索算法 Ref: C 版本 while 循环 C Language scripts by McDelfino: 阅读全文

posted @ 2019-09-10 13:07 McDelfino 阅读(299) 评论(0) 推荐(0)

2019年9月9日 #

【436】Solution for LeetCode Problems

摘要: Coding everyday. ^_^ 1. Two Sum 重点知识:指针可以存储数值,通过 malloc 新建数组 int* returnSize:Size of the return array. Store the value in a pointer, say 2.*returnSize 阅读全文

posted @ 2019-09-09 08:13 McDelfino 阅读(291) 评论(0) 推荐(0)

2019年8月24日 #

【435】NULL '\0' 0 等在 C 语言中的区别

摘要: 参考:C/C++语言中NULL、'\0’和0的区别 参考:空字符串、'\0'、0与NULL的区别以及数组清零的特点分析 在 C语言 中没有 空字符 这个东西 '',不过有 空字符串 "" 所谓的 空字符 实际是 '\0',或者对应的 int 为 0 在声明字符串的时候,默认会将所有的字符设置为 '\ 阅读全文

posted @ 2019-08-24 09:10 McDelfino 阅读(311) 评论(0) 推荐(0)

上一页 1 ··· 136 137 138 139 140 141 142 143 144 ··· 247 下一页