发布时间:2015-08-05 21:36:42
//Same Tree Total Accepted: 71830 Total Submissions: 173103 My Submissions Question Solution <br />//Given two binary trees, write a function to check if they are equal or not.<br />//<br />//Two binary trees are considered equal if they are structurally identical and the nodes have the same.........【阅读全文】
发布时间:2015-08-05 21:29:58
//Given two binary strings, return their sum (also a binary string).<br />//<br />//For example,<br />//a = "11"<br />//b = "1"<br />//Return "100".<br />public class AddBinary {<br /><br /><br />public static void main(String[] args) {<br />// TODO Auto-generated method stub<br /><br />.........【阅读全文】
发布时间:2015-08-05 19:20:48
//Plus One Total Accepted: 56368 Total Submissions: 186154 My Submissions Question Solution <br />//Given a non-negative number represented as an array of digits, plus one to the number.<br />//<br />//The digits are stored such that the most significant digit is at the head of the list.<br .........【阅读全文】
发布时间:2015-08-05 10:04:11
//Minimum Path Sum Total Accepted: 44225 Total Submissions: 136918 My Submissions Question Solution <br />//Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.<br />//<br />//Note: You can only .........【阅读全文】
发布时间:2015-08-04 20:52:48
//Implement regular expression matching with support for '.' and '*'.
//
//'.' Matches any single character.
//'*' Matches zero or more of the preceding element.
//
//The matching should cover the entire input string (not partial).
//
//The function prototyp.........【阅读全文】