码迷,mamicode.com
首页 >  
搜索关键字:structure    ( 2775个结果
(DBA之路十)《深入浅出MySQL数据库开发优化与管理维护》的读书笔记
1>mysql的配置文件在/etc下的my.cnf2)mysql服务是一系列后台进程,mysql数据库是一系列数据目录和数据文件mysql数据库必须在mysql服务启动之后才可以进行访问3)查看mysql服务的状态:netstat-nlp4)启动/关闭服务cd/usr/bin./mysqld_safe&mysqladmin-urootshutdown5)..
分类:数据库   时间:2015-07-19 23:44:36    阅读次数:277
RT-thread 设备驱动组件之SPI设备
本文主要介绍RT-thread中的SPI设备驱动,涉及到的文件主要有:spi_dev.c,spi_core.c,spi.h,spi_hard.c,spi_hard.h。一、SPI设备框架先来看spi.h中的一些数据结构:** * SPI message structure */struct rt_s...
分类:其他好文   时间:2015-07-19 00:00:44    阅读次数:933
2.1 数据抽象简介
《SICP?2.1  数据抽象简介》看得不爽,吐槽一下。 The basic idea of data abstraction is to structure the programs that are to use compounddata objects so that they operate on ''abstract data.'' 接口操作于抽象数据。 At the same ...
分类:其他好文   时间:2015-07-18 18:38:58    阅读次数:104
一览新的 Android Gradle 构建工具:新的 DSL 结构 和 Gradle 2.5
译者地址:【翻】一览新的 Android Gradle 构建工具:新的 DSL 结构 和 Gradle 2.5 原文:First Look at New Android Gradle Build Tools: The new DSL structure and Gradle 2.5 双语对照地址: 【翻-双语】一览新的 Android Gradle 构建工具:新的 DSL 结构...
分类:移动开发   时间:2015-07-18 00:40:46    阅读次数:232
leetcode - Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2015-07-17 22:33:40    阅读次数:116
Recover BST
问题描述Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.解决思路递归思路。中序遍历的过程中,第一个违反顺序的节点一定是错...
分类:其他好文   时间:2015-07-17 13:49:20    阅读次数:89
LRU Cache
题目:Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the v...
分类:系统相关   时间:2015-07-17 11:57:09    阅读次数:168
Is It A Tree?(并查集)(dfs也可以解决)
Is It A Tree?Time Limit:1000MSMemory Limit:10000KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionA tree is a well-known data structure that is ei...
分类:其他好文   时间:2015-07-17 09:37:13    阅读次数:79
232 Implement Queue using Stacks
232 Implement Queue using Stacks用2个stack 完成 代码如下class Queue: # initialize your data structure here. def __init__(self): self.stackA = [] ...
分类:其他好文   时间:2015-07-17 09:36:59    阅读次数:124
[leedcode 99] Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2015-07-17 00:26:42    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!