IncredibleThings

导航

2020年1月9日 #

LeetCode - Fizz Buzz

摘要: 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 number and for the multiples of five output “Buzz”. F... 阅读全文

posted @ 2020-01-09 14:44 IncredibleThings 阅读(143) 评论(0) 推荐(0) 编辑

LeetCode - Longest Palindrome

摘要: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters. This is case sensitive, for example "Aa" is not cons... 阅读全文

posted @ 2020-01-09 14:34 IncredibleThings 阅读(101) 评论(0) 推荐(0) 编辑