摘要: 题目: Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally i 阅读全文
posted @ 2019-05-11 23:18 silentteller 阅读(460) 评论(0) 推荐(0)
摘要: 题目: Given a non-empty string s and a dictionary wordDict containing a list of non-emptywords, determine if s can be segmented into a space-separated s 阅读全文
posted @ 2019-05-11 23:08 silentteller 阅读(445) 评论(0) 推荐(1)
摘要: 题目: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: 阅读全文
posted @ 2019-05-11 00:15 silentteller 阅读(287) 评论(0) 推荐(0)