![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
刷题
凌晨五点打工人
这个作者很懒,什么都没留下…
展开
-
新手 3. Longest Substring Without Repeating Characters --- Java
【感谢】首先要感谢youtuber Jacob Huang的讲解和代码,大家可以直接直接去油管上Jacob Huang的频道听这道题目,讲的非常好。没法去的可以看看下面我写的,都是听完了Jacob Huang讲的之后写下的理解。【题目】Given a string s, find the length of the longest substring without repeating characters.Example 1:Input: s = “abcabcbb”Output: 3Exp原创 2020-11-21 05:42:28 · 136 阅读 · 0 评论 -
新手 2. Add Two Numbers --- Java
【题目】You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order, and each of their nodes contains a single digit. Add the two numbers and return the sum as a linked list.You may assume the two n原创 2020-11-20 05:27:48 · 134 阅读 · 0 评论 -
新手 1. Two Sum --- Java
1. Two Sum【题目】Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.You may assume that each input would have exactly one solution, and you may not use the same element twice.You can re原创 2020-11-19 04:46:24 · 99 阅读 · 0 评论 -
LeetCode 每日一题 (using Java)
LeetCode 每日一题 (using Java)大家好,本人是Java新手,打算每天发布一道LeetCode题目(Easy + Medium)从第一道题开始,有兴趣的小伙伴可以和我一起。我会在每一行加上自己理解的注视和题目分析,因为没有任何经验所以肯定会有不少的错误,不想因为这些错误给大家带来误导,所以还希望能有高手指正我的错误或者添加更容易理解的想法,可以让更多的像我一样的新手看到。...原创 2020-11-18 04:06:46 · 116 阅读 · 2 评论