LeetCode day14 2014/11/2

36. Set Matrix Zeros

Constant space solution

use first row and first col as flag space which save the zeros row & col info.   Store the first row & col origin info first then restore it.

38. Valid Binay Search Tree

Integer.MAX_VALUE

40. Valid Palidrome

int low = '0', 把数字转换成ASCII code

原文地址:https://www.cnblogs.com/superbo/p/4070525.html