摘要: public ListNode getIntersectionNode(ListNode headA, ListNode headB) { if (headA == null || headB == null) { return null; } ListNode node1 = headA, nod 阅读全文
posted @ 2020-08-26 17:06 欣姐姐 阅读(115) 评论(0) 推荐(0) 编辑
摘要: public int findNthDigit(int n) { int digit = 1; long start = 1; long count = 9; while (n > count) { // 1. n -= count; digit += 1; start *= 10; count = 阅读全文
posted @ 2020-08-26 16:53 欣姐姐 阅读(118) 评论(0) 推荐(0) 编辑
摘要: public String minNumber(int[] nums) { String[] strs = new String[nums.length]; for(int i = 0; i < nums.length; i++) strs[i] = String.valueOf(nums[i]); 阅读全文
posted @ 2020-08-26 16:38 欣姐姐 阅读(132) 评论(0) 推荐(0) 编辑