Welcome to smallcracker's personal website
  • ABOUT
  • 标签
  • 分类
  • UidGenerator
  • C工程知识
    • c文件和头文件
  • MIDI
    • MIDI文件格式分析
  • linux
    • cmake速查
    • gcc 编译器
    • linux基础
    • vscode使用技巧
  • stm32
    • 001-新建工程
    • 002-GPIO
    • 003-systick
    • 004-USART
    • 999-project
    • STM32F103RCT6单片机概况
  • tiva tm4c123G
    • 000-STM32F103RCT6单片机概况
    • 001-创建项目
    • 1-Wire_Master
    • ADC interrupt
    • Analog Comparator
    • Analog Comparator(待完成)
    • Analog to Digital Converter
    • DHT11 温湿度传感器
    • FPU
    • GPIO_PWM
    • GPIO_interrupt
    • GPIO输出和输入
    • IIC
    • Interrupt Controller(NVIC)
    • Pulse Width Modulator
    • System Tick
    • TIMER_CAPTURE
    • Timer
    • UART
    • boosterpacks
    • bottom
    • 休眠模块
    • 创建项目
    • 基本GPIO操作
    • 总体概述
    • 通用定时器
  • 传感器
    • max30102 stm32代码
  • 嵌入式系统
    • UCOSII
  • 版本控制
    • 版本控制学习
  • 电路设计
    • 电源及管理
    • 网络上一些锂电池3V3输出示例
    • 锂电池
  • 算法
    • permutation
    • 二叉树搜索叶子节点
  • 通信模块
    • cc2541
  • 驱动模块
    • sg90

二叉树搜索叶子节点

结构123456789int n,tem;int top;struct Node{ int num; int depth; Node *lchild=NULL; Node *rchild=NULL;} *node[200010],*stack[200010];Node p[200 ...
2021-05-23

permutation

全排列生成算法wikipedia上提供的一种方法这个方法可以以字典序生成一组数的全排列。方法非常简便,在14世纪由Narayana Pandita发现。 Find the largest index k such that a[k] < a[k + 1]. If no such index ...
2021-03-07

©2021- smallcracker | pv | uv
Theme Tree by WuJun Powered by Hexo