MingruiYang

MingruiYang の Blog

二分算法学习笔记与总结

[toc]

二分

二分查找 侧重于查找一个元素是否存在,而 二分答案 则侧重于找到答案。

二分原理

二分,分而为二。
二分算法,顾名思义,就是把一组有序数据的搜索区域缩小一半。

阅读全文 »

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment