摘要: ALGORITHM (Swap Nodes in Pairs)[https://leetcode.com/problems/swap nodes in pairs/] 总的来说还是链表的处理,不过在处理的过程中,遇到了一个比较严重的问题,就是节点指针作为参数传入后,其本身的位置也就是节点 node 阅读全文
posted @ 2019-04-30 13:53 bookdrip 阅读(127) 评论(0) 推荐(0)
摘要: Algorithm Valid Parentheses,Merge Two Sorted Lists,Generate Parentheses 这几个题目都是比较基础的内容,但是选择不好结构,会让自己的逻辑处理碰到很多的问题,这几道提用到了一个很重要的结构,栈,进栈和出栈的逻辑,很好的给一些问题提供 阅读全文
posted @ 2019-04-21 18:09 bookdrip 阅读(124) 评论(0) 推荐(0)
摘要: Algorithm "Remove Nth Node From End of List" Solution 简单的链表实现,主要还是对空集的判断。 REVIEW 《信号和系统》奥本海姆,一本关于数字信号的初级的书本,初步阅读了书籍的导论部分,了解了信号的数字解析方式,这本书是进行图像处理和语音识别的 阅读全文
posted @ 2019-04-14 19:34 bookdrip 阅读(117) 评论(0) 推荐(0)
摘要: Algorithm: "3Sum Closest" Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. 阅读全文
posted @ 2019-04-07 22:46 bookdrip 阅读(173) 评论(0) 推荐(0)
摘要: 一个好的计划表可以让你的生活变的丰满充实,可以更好的规划自己的时间,提高自己的工作效率。在看了很多的文章之后,在此做一个简单的总结。 + 先列出自己的日常生活 列出自己的日常生活的一个原因就在于,可以发现自己现在的时间管理的一个基本的水平,“冰冻三尺,非一日之寒”,计划表需要根据自己的实际情况来更改 阅读全文
posted @ 2019-04-04 11:29 bookdrip 阅读(304) 评论(0) 推荐(0)
摘要: 理解程序代码在内存中的位置 https://www.cnblogs.com/bookdrip/articles/9843958.html 动态存储分配的含义:有些操作对象只在程序运行时才能确定,这样编译时就无法为他们预定存储空间,只能在程序运行时,系统根据运行时的要求进行内存分配,这种方法称为动态存 阅读全文
posted @ 2019-04-01 11:03 bookdrip 阅读(268) 评论(0) 推荐(0)
摘要: Algorithm: "15. 3Sum" Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the a 阅读全文
posted @ 2019-03-31 23:18 bookdrip 阅读(139) 评论(0) 推荐(0)
摘要: jsoncpp的编译 + 到对应的 "官网" 进行资源的下载 + 打开jsoncpp src 0.5.0 makefiles vs71 jsoncpp.sln + 转换项目为VS2010格式 + 生成的.lib文件在 jsoncpp src 0.5.0\build\vs71\debug\lib_js 阅读全文
posted @ 2019-03-26 13:37 bookdrip 阅读(522) 评论(0) 推荐(0)
摘要: Algorithm: "14. Longest Common Prefix" Write a function to find the longest common prefix string amongst an array of strings. If there is no common pr 阅读全文
posted @ 2019-03-20 14:14 bookdrip 阅读(266) 评论(0) 推荐(1)
摘要: 每打开一个文件,内核使用3种数据结构表示打开文件,它们之间的关系决定了在文件共享方面一个进程对另一个进程可能产生的影响。 (1)每个进程都有一个进程表,表的每一项代表了一个打开的文件。表项中包含的内容如下 + a.文件描述符 fd。 + b.指向一个文件表项的指针。 (2)内核为所有打开文件维持一张 阅读全文
posted @ 2019-03-07 15:38 bookdrip 阅读(1790) 评论(0) 推荐(1)