摘要: Following features of C++ are not there in Java. No pointers No sizeof operator No scope resolution operatorLocal variables in functions cannot be sta 阅读全文
posted @ 2016-03-16 05:57 流白 阅读(200) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; int divide(int dividend, int divisor) { long long n = dividend, m = divisor; // determine sign of the quotient int sign = n = 0; i--) if (t ... 阅读全文
posted @ 2016-03-16 05:00 流白 阅读(534) 评论(0) 推荐(0) 编辑
摘要: Finding Shortest Paths By BFS􀁺 The BFS code we have seen 􀁻 find outs if there exist a path from a vertex s to a vertex v 􀁻 prints the vertices of a 阅读全文
posted @ 2016-03-16 03:34 流白 阅读(625) 评论(0) 推荐(0) 编辑
摘要: https://leetcode.com/problems/word-ladder-ii/ Given two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation 阅读全文
posted @ 2016-03-16 01:14 流白 阅读(396) 评论(0) 推荐(0) 编辑