摘要:
求平方根 public int sqrt (int x) { // write code here String result = new StringBuilder(Math.sqrt(x)+"").toString(); StringBuilder aa = new StringBuilder( 阅读全文
摘要:
反转链表 https://www.nowcoder.com/practice/75e878df47f24fdc9dc3e400ec6058ca java版本答案: public class Solution { public ListNode ReverseList(ListNode head) { 阅读全文
摘要:
两数之和 https://www.nowcoder.com/questionTerminal/20ef0972485e41019e39543e8e895b7f public int[] twoSum (int[] numbers, int target) { int[] answer=new int 阅读全文