GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - maxingg/leetcode: 路漫漫其修远兮,吾将上下而求索

BranchesTags
Open more actions menu

Latest commit

 

History

57 Commits
57 Commits

Folders and files

NameName
Last commit message
Last commit date
c++
c++
 
 
java
java
 
 
python
python
 
 
README.md
README.md
 
 

Repository files navigation

leetcode

路漫漫其修远兮,吾将上下而求索

20年2月15日刷满100(1道数据库,未上传) 这个阶段主要是前500的简单题,包含各种数据结构和算法的初级使用 有一些值得注意的点:

  1. 递归方法除树以外的数据结构不适宜作为第一解法,牵扯到子函数调用问题,但在树中的时间复杂度为O(logn)
  2. Floyd 循环检测处理部分问题很高效
  3. 相比于Java封装好的各种数据结构HashSet,Map,List, 直接数组实现往往更好
  4. 对数字的处理操作可以先审视二进制表示,可能有奇效
  5. 对于一些大型数据寻找特殊值(比如质数)个数, 筛选法可以很高效
  6. 数组和字符串常常可以考虑双指针
  7. 对一些约束条件固定的题目,可以记录静态变量
  8. 动态规划问题,重复调用的子问题,最优解问题
  9. Stirng操作可以考虑StringBuilder
  10. map的getOrDefalut
  11. Deque双端队列的使用

About

路漫漫其修远兮,吾将上下而求索

Resources

Readme
Activity

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.