LeetCode - Same Tree

Given two binary trees, write a function to check if they are...     Continue Reading
Xin Qiu's avatar
Xin Qiu Jul 07, 2015

<<深入理解C指针>>读书笔记

指针可以说是C的灵魂,C语言入门很容易,但想精通,就必须要对指针有很透彻的理解。大一上学期学了一遍C语言,然而指针这个最重要的地方,却没有好好的深入研究。这本<<深入理解C指针>>虽然谈不上讲到多少指针的奇巧淫技,但作为复习指针的相关知识,还是可以稍微读读。     Continue Reading
Xin Qiu's avatar
Xin Qiu Jun 09, 2015

Dijkstra算法

介绍Dijkstra算法(Dijkstra’s algorithm)是解决单源最短路径问题的一般算法。它的主要特点是以起始点为中心向外层层扩展(广度优先搜索思想),直到扩展到终点为止。     Continue Reading
Xin Qiu's avatar
Xin Qiu May 30, 2015

一次尝试

晚上无聊,改了一个比较好玩的网站(虽然没有完全改好),放在了VPS上。可以访问http://web.xinqiu.me[     Continue Reading
Xin Qiu's avatar
Xin Qiu May 27, 2015

几种常见排序算法的学习

排序算法是面试中常被提及的算法种类之一,以下记录了我学排序的一些想法。 插入排序 希尔排序 堆排序 归并排序 快速排序     Continue Reading
Xin Qiu's avatar
Xin Qiu May 15, 2015

在最好的年华,做自己最想做的事

一转眼就到了五月,当初告诉自己大一要做哪些哪些事,却发现如今也就做了那么几件,当初的全栈工程师的理想,现在想想,感觉太遥远、太梦幻。现在的想法就是踏...     Continue Reading
Xin Qiu's avatar
Xin Qiu May 09, 2015

Linux C 程序设计基础学习

    Continue Reading
Xin Qiu's avatar
Xin Qiu Mar 27, 2015

LeetCode - Maximum Depth of Binary Tree

    Continue Reading
Xin Qiu's avatar
Xin Qiu Feb 28, 2015

Play Minecraft on Ubuntu

在Ubuntu上玩Linux前言windows上的MC玩起来方便,不管是服务器端还是客户端,都有很多大神打造的启动器,开服器,可在Linux上,这些工具就少了些,并且经常会出错。网上的很多资料大多是针对经典的旧版,我会介绍一种简单的方法在Ubuntu Linux上玩起MC1.8。 工具 MinecraftSP.jar Hello Minecraft Launcher 2.2.1 Minecraft 1.8 纯净客户端 OpenJDK 7     Continue Reading
Xin Qiu's avatar
Xin Qiu Feb 11, 2015

HDOJ - 1002 A + B Problem II

A + B Problem IIAC了半天,老是一些细节没注意。 Problem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contains an integer T(1<=T<=20) which means the number of test cases. Then T lines follow, each line consists of two positive integers, A and B. Notice that the integers are very large, that means you should not process them by using 32-bit integer. You may assume the length of each integer will not exceed 1000. OutputFor each test case, you should output two lines. The first line is “Case #:”, # means the number of the test case. The second line is the an equation “A + B = Sum”, Sum means the result of A + B. Note there are some spaces int the equation. Output a blank line between two test cases.     Continue Reading
Xin Qiu's avatar
Xin Qiu Feb 03, 2015