摘要:
Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the process is like: 阅读全文
posted @ 2017-07-12 12:01
immjc
阅读(110)
评论(0)
推荐(0)
摘要:
Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements. For example, giv 阅读全文
posted @ 2017-07-12 11:34
immjc
阅读(168)
评论(0)
推荐(0)
摘要:
You need to construct a string consists of parenthesis and integers from a binary tree with the preorder traversing way. The null node needs to be rep 阅读全文
posted @ 2017-07-12 11:11
immjc
阅读(157)
评论(0)
推荐(0)
摘要:
Given two strings s and t which consist of only lowercase letters. String t is generated by random shuffling string s and then add one more letter at 阅读全文
posted @ 2017-07-12 10:33
immjc
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号