摘要:
Problem : Implement . Compute and return the square root of x, where x is guaranteed to be a non negative integer. Since the return type is an integer 阅读全文
posted @ 2020-03-27 23:08
littledy
阅读(103)
评论(0)
推荐(0)
摘要:
Problem : You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways 阅读全文
posted @ 2020-03-27 22:57
littledy
阅读(82)
评论(0)
推荐(0)
摘要:
Problem : Given a non empty array of digits representing a non negative integer, plus one to the integer. The digits are stored such that the most sig 阅读全文
posted @ 2020-03-27 22:45
littledy
阅读(87)
评论(0)
推荐(0)
摘要:
Problem : Given a string s consists of upper/lower case alphabets and empty space characters ' ', return the length of last word (last word means the 阅读全文
posted @ 2020-03-27 22:20
littledy
阅读(116)
评论(0)
推荐(0)
摘要:
Problem : Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inse 阅读全文
posted @ 2020-03-27 20:35
littledy
阅读(100)
评论(0)
推荐(0)
摘要:
Problem : Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is va 阅读全文
posted @ 2020-03-27 19:32
littledy
阅读(179)
评论(0)
推荐(0)
摘要:
Problem : Given a 32 bit signed integer, reverse digits of an integer. Example 1: Example 2: Example 3: Note: Assume we are dealing with an environmen 阅读全文
posted @ 2020-03-27 19:01
littledy
阅读(102)
评论(0)
推荐(0)
摘要:
Problem : There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time com 阅读全文
posted @ 2020-03-27 18:17
littledy
阅读(121)
评论(0)
推荐(0)
摘要:
Problem : You are given two non empty linked lists representing two non negative integers. The digits are stored in reverse order and each of their no 阅读全文
posted @ 2020-03-27 17:02
littledy
阅读(122)
评论(0)
推荐(0)

浙公网安备 33010602011771号