Skip to content

ZTYZZ/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

此项目介绍

此项目旨在是为leetcode里面的习题提供解析(数据结构相关知识),锻炼了自己,同时也给别人带来了方便。

网站习题链接:https://leetcode.com/problemset/all/

** 作者知乎链接**:https://www.zhihu.com/people/bing-mo-43-95/activities

关于习题

  1. 所有习题和解析都写在一个文件里,并且文件内 包含题目 ,同时以题目名字命名。

  2. 解析会尽量详细,主要是Java语言,有可能会有部分C语言。在必要情况下会给出图解。

  3. 习题的顺序就是按照leetcode官网习题顺序。

  4. 保证代码是AC过的。

  5. 解析是中文的。

关于坚持

  1. 计划是每天至少一道题,并给出完整解析,争取把里面的习题刷完吧(不做保证完全刷完)

  2. 所有题目保证经过自己独立思考,即使借鉴别人的代码,也要有自己相应的理解。

其他

如果有错误,有任何建议,我都会接受,请批评指正,谢谢!

目录

  1. two sum :https://github.com/ZTYZZ/leetcode/blob/master/Two%20Sum.java
  2. Add Two Numbers: https://github.com/ZTYZZ/leetcode/blob/master/Add%20Two%20Numbers.java
  3. Longest Substring Without Repeat... https://github.com/ZTYZZ/leetcode/blob/master/3.%20Longest%20Substring%20Without%20Repeating%20Characters.java
  4. Median of Two Sorted Arrays https://github.com/ZTYZZ/leetcode/blob/master/4.Median%20of%20Two%20Sorted%20Arrays.java
  5. Longest Palindromic Substring https://github.com/ZTYZZ/leetcode/blob/master/5.%20Longest%20Palindromic%20Substring.java
  6. ZigZag Conversion https://github.com/ZTYZZ/leetcode/blob/master/6.%20ZigZag%20Conversion.java
  7. Reverse Integer https://github.com/ZTYZZ/leetcode/blob/master/7.%20Reverse%20Integer.java
  8. String to Integer (atoi) https://github.com/ZTYZZ/leetcode/blob/master/8.%20String%20to%20Integer%20(atoi).java
  9. Palindrome Number https://github.com/ZTYZZ/leetcode/blob/master/9.%20Palindrome%20Number.java
  10. 空缺
  11. Container With Most Water https://github.com/ZTYZZ/leetcode/blob/master/11.%20Container%20With%20Most%20Water.java
  12. https://github.com/ZTYZZ/leetcode/blob/master/12.%20Integer%20to%20Roman.java

About

leetcode solutions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy