Code Monkey home page Code Monkey logo

algorithm's Introduction

绪论

一个想法

在做开发过程中,会遇到很多问题,如何解决问题,这里点名说一下 算法 设计模式 对问题的解决起到了重要的指导**

关于算法和设计模式抛开层次级别这个维度去看他们

算法 通过某些数据类型结构(有时需要自定义结构) 使用设计的算法(一系列程序指令) 解决某些问题

设计模式 通过对象、类、函数封装等(更高级一些的数据类型) 使用某种模式结构(例程的设计) 解决某些问题

算法和设计模式都不局限于语言,换句话也可以说 弥补语言的不足

解决问题优劣

根据情况 使用适合的方式解决问题 不要过度设计

假设读者具备的知识

数学 会看坐标系 会比大小

语言 c java php js ...

算法

对问题的求解方法 可以通过不同语言执行程序实现

算法分析

  • 时间花了多少 -> 时间复杂度
  • 内存用了多少 -> 空间复杂度

衡量算法适合不适合的主要标准

联系 反思

数据库 表 文档 集合 如何设计使用 时间 空间 反范式 冗余

多个水平分表 多台服务器 多个缓存 如何使数据均匀的分布


在程序员这个江湖中,算法 数据结构 设计模式 并不是武林绝学,只是一些内功心法 想成为一代大虾(侠),知识信息来源有很多,不单靠他人传授,还靠自己悟

algorithm's People

Contributors

myname9 avatar

Watchers

 avatar  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.