摘要: /** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(int x) { val = x; } * } */ class Solution { 阅读全文
posted @ 2020-04-16 22:23 CodeCorner 阅读(78) 评论(0) 推荐(0)
摘要: /** * 折半查找 * @author Raymond * */ public class BinarySearch { /*public static void main(String[] args) { int[] arr = {10,11,12,18,19,20}; int target = 阅读全文
posted @ 2020-04-16 11:02 CodeCorner 阅读(118) 评论(0) 推荐(0)