摘要:
题目: 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 fun 阅读全文
posted @ 2017-03-13 10:35
panini
阅读(260)
评论(0)
推荐(0)
摘要:
题目: Design a logger system that receive stream of messages along with its timestamps, each message should be printed if and only if it is not printed 阅读全文
posted @ 2017-03-13 07:04
panini
阅读(148)
评论(0)
推荐(0)
摘要:
题目: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2, 2]. Note: Each el 阅读全文
posted @ 2017-03-13 06:30
panini
阅读(148)
评论(0)
推荐(0)
摘要:
题目: Given two arrays, write a function to compute their intersection. Example:Given nums1 = [1, 2, 2, 1], nums2 = [2, 2], return [2]. Note: Each eleme 阅读全文
posted @ 2017-03-13 04:32
panini
阅读(120)
评论(0)
推荐(0)
摘要:
题目: Given a stream of integers and a window size, calculate the moving average of all integers in the sliding window. For example, 链接: https://leetcod 阅读全文
posted @ 2017-03-13 04:09
panini
阅读(147)
评论(0)
推荐(0)
摘要:
题目: Write a function that takes a string as input and reverse only the vowels of a string. Example 1:Given s = "hello", return "holle". Example 2:Give 阅读全文
posted @ 2017-03-13 03:20
panini
阅读(156)
评论(0)
推荐(0)
浙公网安备 33010602011771号