07 2018 档案
摘要:原题链接在这里:https://leetcode.com/problems/sliding-puzzle/ 题目: On a 2x3 board, there are 5 tiles represented by the integers 1 through 5, and an empty squa
阅读全文
摘要:原题链接在这里:https://leetcode.com/problems/pour-water/description/ 题目: We are given an elevation map, heights[i] representing the height of the terrain at
阅读全文
摘要:在C/C++中,需要自己负责object的creation 和 destruction. 如果忘记了destruction, 就容易出现OutOfMemoryErrors. Java中会有GC直接处理unreachable objects. 什么是unreachable objects: 在stac
阅读全文