摘要:
Given a positive integer num, write a function which returns True if num is a perfect square else False. Note: Do not use any built-in library functio 阅读全文
posted @ 2017-11-29 08:21
jasminemzy
阅读(126)
评论(0)
推荐(0)
摘要:
Given a binary tree, collect a tree's nodes as if you were doing this: Collect and remove all leaves, repeat until the tree is empty. Example:Given bi 阅读全文
posted @ 2017-11-29 07:53
jasminemzy
阅读(110)
评论(0)
推荐(0)
摘要:
Given two sparse matrices A and B, return the result of AB. You may assume that A's column number is equal to B's row number. Example: A = [ [ 1, 0, 0 阅读全文
posted @ 2017-11-29 05:02
jasminemzy
阅读(101)
评论(0)
推荐(0)

浙公网安备 33010602011771号