An inorder binary tree traversal can be implemented in a non-recursive way with a stack. For example, suppose that when a 6-node binary tree (with the ...
分类:
其他好文 时间:
2020-04-06 00:21:55
阅读次数:
65
Problem : Count the number of prime numbers less than a non negative number, n. Example: 思路 : Solution (C++) : 性能 : Runtime: 208 ms Memory Usage: 6.6 ...
分类:
其他好文 时间:
2020-04-06 00:11:19
阅读次数:
84
Problem : Given a list of non negative integers, arrange them such that they form the largest number. Example 1: Example 2: Note: The result may be ve ...
分类:
其他好文 时间:
2020-04-04 22:44:47
阅读次数:
75
import java.util.regex.*; public class RegPlus{ public static void main(String[] args){ //group(); //reference(); flags(); } //non-capturing groups pr ...
分类:
其他好文 时间:
2020-04-02 21:08:43
阅读次数:
65
最近(以及预感接下来的一年)会读很多很多的paper......不如开个帖子记录一下读paper心得 New Hardware / non volatile memory .... Streaming .... Cloud / Distributed PolarFS: An Ultra-low La ...
分类:
数据库 时间:
2020-04-02 00:54:56
阅读次数:
96
对象的isa 指针指向哪里?isa 指针有哪两种类型? isa 等价于 is kind of 实例对象 isa 指向类对象 类对象 isa 指向元类对象 元类对象的 isa 指向元类的基类 isa 有两种类型 纯指针,指向内存地址 NON_POINTER_ISA,除了内存地址,还存有一些其他信息 1 ...
分类:
其他好文 时间:
2020-03-31 17:25:33
阅读次数:
67
问题复现: INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [alembic.env] ...
分类:
编程语言 时间:
2020-03-30 12:45:45
阅读次数:
84
Given a non-empty array of integers, return the third maximum number in this array. If it does not exist, return the maximum number. The time complexi ...
分类:
其他好文 时间:
2020-03-30 12:40:30
阅读次数:
66
Problem Description Consider the aggregate An= { 1, 2, …, n }. For example, A1={1}, A3={1,2,3}. A subset sequence is defined as a array of a non-empty ...
分类:
其他好文 时间:
2020-03-29 15:26:11
阅读次数:
73
Given a non-negative integer num represented as a string, remove k digits from the number so that the new number is the smallest possible. Note: The l ...
分类:
其他好文 时间:
2020-03-29 11:03:55
阅读次数:
74