摘要:题目 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 阅读 (32) 评论 (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 阅读 (20) 评论 (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 阅读 (37) 评论 (0) 编辑
摘要:题目 Implement function ToLowerCase() that has a string parameter str, and returns the same string in lowercase. Example 1: Example 2: Example 3: 阅读全文
posted @ 2019-06-08 15:00 雨临Lewis 阅读 (17) 评论 (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 阅读 (20) 评论 (0) 编辑