摘要: Reference Description Implement the class ReferenceManager. Include the following two methods: 1. . This would just copy the value from parameter obj 阅读全文
posted @ 2019-04-02 22:47 故人叹 阅读(233) 评论(0) 推荐(0)
摘要: 449. Char to Integer Description Convert a char to an integer. You can assume the char is in ASCII code (See Definition, so the value of the char shou 阅读全文
posted @ 2019-04-02 22:46 故人叹 阅读(202) 评论(0) 推荐(0)
摘要: 描述 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-02 22:45 故人叹 阅读(129) 评论(0) 推荐(0)
摘要: Description Given 3 integers, return the max of them. Example Given num1 = 1, num2 = 9, num3 = 0, return . 阅读全文
posted @ 2019-04-02 22:45 故人叹 阅读(185) 评论(0) 推荐(0)
摘要: 描述 查找斐波纳契数列中第 N 个数. 所谓的斐波纳契数列是指: 前2个数是 0 和 1 。 第 i 个数是第 i 1 个数和第i 2 个数的和。 斐波纳契数列的前10个数字是: public class Solution { / @param n: an integer @return: an i 阅读全文
posted @ 2019-04-02 22:45 故人叹 阅读(112) 评论(0) 推荐(0)
摘要: Description Find a node with given value in a linked list. Return null if not exists. Have you met this question in a real interview? Example Given an 阅读全文
posted @ 2019-04-02 22:44 故人叹 阅读(201) 评论(0) 推荐(0)
摘要: Middle of Linked List Description Find the middle node of a linked list. Example Given , return the node with value 2. Given , return the node with va 阅读全文
posted @ 2019-04-02 22:44 故人叹 阅读(236) 评论(0) 推荐(0)
摘要: Max of Array public class Solution { / @param A: An integer @return: a float number / public float maxOfArray(float[] A) { // write your code here flo 阅读全文
posted @ 2019-04-02 21:57 故人叹 阅读(124) 评论(0) 推荐(0)
摘要: Description Implement a class , including the following attributes and methods: 1. A private attribute of type string. 2. A setter method which expect 阅读全文
posted @ 2019-04-02 21:57 故人叹 阅读(229) 评论(0) 推荐(0)
摘要: 描述 将一个字符由小写字母转换为大写字母 样例 阅读全文
posted @ 2019-04-02 21:56 故人叹 阅读(129) 评论(0) 推荐(0)