一. ARM裸机之Makefile 1.1. Makefile 分析 led.bin: led.o arm-linux-ld -Ttext 0x0 -o led.elf $^ arm-linux-objcopy -O binary led.elf led.bin arm-linux-objdump ...
分类:
其他好文 时间:
2019-01-07 00:15:28
阅读次数:
424
Suppose that all the keys in a binary tree are distinct positive integers. Given the postorder and inorder traversal sequences, you are supposed to ou ...
分类:
其他好文 时间:
2019-01-06 14:22:02
阅读次数:
165
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Example 1 ...
分类:
其他好文 时间:
2019-01-06 13:32:20
阅读次数:
138
socket.io https://socket.io/ https://socket.io/docs/ What Socket.IO is Socket.IO is a library that enables real-time, bidirectional and event-based co ...
分类:
其他好文 时间:
2019-01-06 10:47:35
阅读次数:
190
直接上干货,没啥好说的: 代码1:十六进制转字符串函数 执行效果: 代码2:字符串转十六进制字符串函数 执行效果: 代码3:二进制字符串到十六进制字符串函数 1 #include <stdio.h> 执行效果: 代码4: 执行效果: 代码5:最后,来一个等长二进制字符串异或函数 执行效果: Have ...
分类:
编程语言 时间:
2019-01-05 21:36:55
阅读次数:
684
继续维护并补充中,如果有遗漏,请联系补充。 ...
分类:
编程语言 时间:
2019-01-05 21:35:35
阅读次数:
237
binary heap就是一种complete binary tree(完全二叉树)。也就是说,整棵binary tree除了最底层的叶节点之外,都是满的。而最底层的叶节点由左至右又不得有空隙。 以上是一个对heap的简单介绍。本文将用heap指代此种完全二叉树。那么在实际编写代码的时候怎么组织这种 ...
分类:
编程语言 时间:
2019-01-05 16:37:26
阅读次数:
192
变量类型概述 Python 中一切皆对象 其实 ‘+’,‘=’,‘(’ 之类不在对象之列 有 6 种标准数据类型 1 数字类型 number int, float, complex 2 字符串类型 str 3 列表 list 4 元组 tuple 5 集合 set 6 字典 dict 数字类型 整数 ...
分类:
编程语言 时间:
2019-01-05 13:28:36
阅读次数:
160
Given an array of unique integers, each integer is strictly greater than 1. We make a binary tree using these integers and each number may be used for ...
分类:
其他好文 时间:
2019-01-05 00:52:06
阅读次数:
220
Given a binary tree, find the length of the longest path where each node in the path has the same value. This path may or may not pass through the roo ...
分类:
其他好文 时间:
2019-01-05 00:16:27
阅读次数:
164