上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: https://leetcode.com/problems/first-bad-version/description/ You are given an API bool isBadVersion(version) which will return whether version is bad. 阅读全文
posted @ 2018-03-17 02:24 davidnyc 阅读(127) 评论(0) 推荐(0)
摘要: Given a integer dictionary A of unknown size, where the numbers in the dictionary are sorted in ascending order, determine if a given target integer T 阅读全文
posted @ 2018-03-15 10:59 davidnyc 阅读(363) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/merge-sorted-array/description/Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.Note:You may assume that nums1 has enough space... 阅读全文
posted @ 2018-03-13 06:31 davidnyc 阅读(119) 评论(0) 推荐(0)
摘要: https://leetcode.com/problems/move-zeroes/description/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, ... 阅读全文
posted @ 2018-03-13 06:10 davidnyc 阅读(160) 评论(0) 推荐(1)
摘要: https://leetcode.com/problems/sort-colors/description/Given an array with n objects colored red, white or blue, sort them so that objects of the same color are adjacent,with the colors in the order re... 阅读全文
posted @ 2018-03-13 05:46 davidnyc 阅读(162) 评论(0) 推荐(0)
摘要: 以下内容,拷贝自 http://www.ruanyifeng.com/blog/2013/11/stack.html 学习编程的时候,经常会看到stack这个词,它的中文名字叫做"栈"。 理解这个概念,对于理解程序的运行至关重要。容易混淆的是,这个词其实有三种含义,适用于不同的场合,必须加以区分。 阅读全文
posted @ 2018-03-09 03:36 davidnyc 阅读(160) 评论(0) 推荐(0)
摘要: 以下内容拷贝自 http://www.ruanyifeng.com/blog/2018/02/nginx-docker.html 春节前,我看到 Nginx 加入了 HTTP/2 的 server push 功能,就很想试一下。 正好这些天,我在学习 Docker,就想到可以用 Nginx 容器。万 阅读全文
posted @ 2018-03-09 03:27 davidnyc 阅读(541) 评论(0) 推荐(0)
摘要: 以下内容摘自 http://www.ruanyifeng.com/blog/2018/02/docker-wordpress-tutorial.html Docker 是一个容器工具,提供虚拟环境。很多人认为,它改变了我们对软件的认识。 站在 Docker 的角度,软件就是容器的组合:业务逻辑容器、 阅读全文
posted @ 2018-03-09 03:26 davidnyc 阅读(196) 评论(0) 推荐(0)
摘要: 以下内容,拷贝自 http://www.ruanyifeng.com/blog/2018/02/docker-wordpress-tutorial.html 2013年发布至今, Docker 一直广受瞩目,被认为可能会改变软件行业。 但是,许多人并不清楚 Docker 到底是什么,要解决什么问题, 阅读全文
posted @ 2018-03-09 03:25 davidnyc 阅读(213) 评论(0) 推荐(0)
摘要: 以下内容,拷贝自 http://www.ruanyifeng.com/blog/2007/10/ascii_unicode_and_utf-8.html 今天中午,我突然想搞清楚 Unicode 和 UTF-8 之间的关系,就开始查资料。 这个问题比我想象的复杂,午饭后一直看到晚上9点,才算初步搞清 阅读全文
posted @ 2018-03-09 03:22 davidnyc 阅读(107) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页