Code Monkey home page Code Monkey logo

blog-comments's People

Watchers

 avatar  avatar

blog-comments's Issues

字符串 | null

https://stacksg.club/2019/11/16/datastructures/zi-fu-chuan/

相关概念
刚开始计算机都是处理数值数据,后来引入字符串的概念,计算机可以处理非数值的数据了,当然原理是使用数值模拟非数值数据(通过字符编码表,例如ASCII)。
字符串也称为串。
子串和主串。”ABC”是”ABCDEF”的子串,反之则倒过来

数学问题 | stackSg

https://stacksg.club/2020/01/30/lanqiao/shu-xue-wen-ti/

巧用进制天平称重:变种三进制
用天平称重时,我们希望用尽可能少的砝码组合称出尽可能多的重量。如果有无限个砝码,但它们的重量分别是1, 3, 9, 27, 81, ….等3的指数幂神奇之处在于用它们的组合可以称出任意整数重量(砝码允许放在左右

深入递归 | stackSg

https://stacksg.club/2020/02/02/lanqiao/shen-ru-di-gui/

递归**
递归具有两层含义:
编程层面的递归调用
递推

递归调用实际解决问题也是自下而上求解,只不过表现形式是自上而下
递归是老板思维,迭代是员工思维
递归调用的表现形式:
1.2.3路递归(通常是使用递推方式求出递推公式)
多路递归(

稀疏数组 | null

https://stacksg.club/2019/11/13/datastructures/xi-shu-ju-zhen/

矩阵的压缩存储分类

特殊矩阵:若值相同的元素再矩阵钟的分布有一定规律,则称此类矩阵为特殊矩阵。
稀疏矩阵:若矩阵中有很大一部分为零元素,则称此类矩阵为稀疏矩阵。

稀疏矩阵
存储矩阵的一般方法是采用二维数组,其优点是可以随机地访问每一个元

数据库 | stacksg

https://stacksg.club/2020/03/30/ruankao/shu-ju-ku/

数据库模型三级模式&二级映射
数据库设计过程
规范化理论函数依赖
价值与用途
非规范化的关系模式,可能存在的问题包括:数据冗余、更新异常、插入异常、删除异常


求候选键
将关系模式的函数依赖关系用“有向图”的方式表示
找入度为0

位运算 | stackSg

https://stacksg.club/2020/01/18/lanqiao/wei-yun-suan/

1- 1000这1000个数放在含有1001个元素的数组中,只有唯一的一个元素值重复,其它均只出现一次。每个数组元素只能访问一次,设计一个算法,将它找出来;不用辅助存储空间,能否设计一个算法实现?

解题思路:A^A=0
int N =

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.