2018年8月24日

摘要: Given a 32-bit signed integer, reverse digits of an integer. Note:Assume we are dealing with an environment which could only store integers within the 阅读全文
posted @ 2018-08-24 19:27 jydd 阅读(83) 评论(0) 推荐(0)
摘要: Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the numbe 阅读全文
posted @ 2018-08-24 15:38 jydd 阅读(99) 评论(0) 推荐(0)
摘要: Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette 阅读全文
posted @ 2018-08-24 15:24 jydd 阅读(62) 评论(0) 推荐(0)
摘要: Given two strings s and t , write a function to determine if t is an anagram of s. Example 1: Note:You may assume the string contains only lowercase a 阅读全文
posted @ 2018-08-24 13:07 jydd 阅读(57) 评论(0) 推荐(0)
摘要: Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, w 阅读全文
posted @ 2018-08-24 11:28 jydd 阅读(56) 评论(0) 推荐(0)
摘要: Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No 阅读全文
posted @ 2018-08-24 09:51 jydd 阅读(134) 评论(0) 推荐(0)

导航