摘要: Given a string, convert it to an integer. You may assume the string is a valid integer number that can be presented by a signed 32bit integer (-231 ~ 阅读全文
posted @ 2019-04-01 22:59 IreneZh 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Description Description Given an array of integers, remove the duplicate numbers in it. You should: Do it in place in the array. Move the unique numbe 阅读全文
posted @ 2019-04-01 15:01 IreneZh 阅读(147) 评论(0) 推荐(0) 编辑
摘要: Given an array with couple of float numbers. Return the max value of them. Example Example 1: Input: [1.0, 2.1, -3.3] Output: 2.1 Explanation: return 阅读全文
posted @ 2019-04-01 12:03 IreneZh 阅读(140) 评论(0) 推荐(0) 编辑
摘要: Description Convert a char to an integer. You can assume the char is in ASCII code (See Definition, so the value of the char should be in 0~255. Examp 阅读全文
posted @ 2019-04-01 11:55 IreneZh 阅读(205) 评论(0) 推荐(0) 编辑
摘要: Write a function that add two numbers A and B. Example Example 1: Input: a = 1, b = 2 Output: 3 Explanation: return the result of a + b. Example 2: In 阅读全文
posted @ 2019-04-01 11:00 IreneZh 阅读(293) 评论(0) 推荐(0) 编辑