摘要: 题目 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 nu阅读全文
posted @ 2019-06-08 15:03 雨临Lewis 阅读(13) 评论(0) 编辑
摘要: 题目 You're given strings representing the types of stones that are jewels, and representing the stones you have. Each character in S is a type of stone阅读全文
posted @ 2019-06-08 15:02 雨临Lewis 阅读(9) 评论(0) 编辑
摘要: 题目 Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space for another array,阅读全文
posted @ 2019-06-08 15:01 雨临Lewis 阅读(18) 评论(0) 编辑
摘要: 题目 Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Example 2: Example 3: <! mor阅读全文
posted @ 2019-06-08 15:00 雨临Lewis 阅读(11) 评论(0) 编辑
摘要: 题目 Given a non empty array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear ru阅读全文
posted @ 2019-06-08 14:59 雨临Lewis 阅读(10) 评论(0) 编辑