Git Product home page Git Product logo

wleetcode's Introduction

WLeetCode

为了进阶高级 Android,定下了刷 LeetCode 的计划,此项目是 leetCode 的解题过程 刷题顺序参照网站:https://leetcode.com/problemset/algorithms/ 按从简单到难的顺序排列

第一天

刷题: day1.leetCode760 day1.LeetCode461 day1.LeetCode657

需要回头巩固的知识点:

  1. java Map 的时间复杂度
  2. http://blog.csdn.net/21aspnet/article/details/7387373
    1. 10进制和二进制之间的转换
    2. 二进制间的运算操作 | & ^
    3. 左移运算符(<<)右移运算符(>>)无符号右移运算符(>>>)

第二天

刷题: day2.leetCode561 day2.leetCode617 day2.leetCode728

需要回头巩固的知识点

  1. 合并二叉树
  2. java 的基本数据类型 char 和 byte 的区别
  3. char 如何做运算
  4. 贪婪算法

第四天

  1. 时间复杂度的计算
  2. 栈的定义
  3. 队列定义 以及 基本方法,入队(add) 出队 (poll 或 peek)
  4. 两个栈如何模拟队列

第五天

  1. 递归算法 递归实现一个栈的逆序(不可使用其他数据结构)要学会构造递归
  2. 理解递归 一个方法中调用本身 就是递归,对于递归要找出口,然后构造最简单情况下的 if else
  3. 递归到达出口后 函数还会一层层执行 递归外的内容,此时正好能实现这个逆序的操作
  4. 猫狗队列 这算是很简单的题了 主要记住解题思路
  5. 两个栈实现排序 也是记住解题思路

wleetcode's People

Contributors

importeffort avatar

Watchers

James Cloos avatar EnergyJ avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.