- 博客(2)
- 收藏
- 关注
原创 maximum-depth-of-binary-tree
今天在leecode测试了一个简单的算法题,计算二叉树最大高度 Givn a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node. ...
2018-10-28 14:40:40 120
原创 android
今天在使用socket做聊天工具时,程序运行到 while(msg = bufferedReader.readLine())!=null) { } 这里时就卡住了, 原来bufferedReader.readLine()会阻塞, 我想了半天后找到了解决办法:我重新建立了一个线程来控制这个bufferedReader读取数据,程序正常了。 ...
2010-12-08 17:12:05 81
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人