个人博客:https://luxialan.com

摘要: Maximum Depth of Binary TreeTotal Accepted:36406Total Submissions:83130Given a binary tree, find its maximum depth.The maximum depth is the number of ... 阅读全文
posted @ 2014-10-29 21:16 luxialan 阅读(120) 评论(0) 推荐(0)
摘要: 单调递增最长子序列时间限制:3000ms | 内存限制:65535KB难度:4描述求一个字符串的最长递增子序列的长度如:dabdbf最长递增子序列就是abdf,长度为4输入第一行一个整数0#includeint main(){ int m,n,r,i,j; char a[10001]; int s[... 阅读全文
posted @ 2014-10-29 13:11 luxialan 阅读(143) 评论(0) 推荐(0)