- 博客(22)
- 收藏
- 关注
原创 689. Maximum Sum of 3 Non-Overlapping Subarrays
dynamic programming数组内子序列求和
2017-10-21 05:35:30 396
原创 692. Top K Frequent Words
leetcode 692, top k frequent words, coded in c++
2017-10-13 23:53:59 344
原创 690. Employee Importance
Problem:You are given a data structure of employee information, which includes the employee’s unique id, his importance value and his direct subordinates’ id.For example, employee 1 is the leader of em
2017-10-13 11:01:37 179
原创 hash table review
In hashing, a set of keys is stored in an array called hash table. Insertion, deletion, and finding are based on hash function. hash function maps each possible key with certain index to the hash
2017-10-09 12:34:29 303
原创 sequential container overview(C++ 容器简介)
基本容器有: vector: flexible sized array, random access deque: double-ended queue, random access list: doubly linked list, bi-directional sequential access forward_list: singly linked list, sing
2017-10-06 05:10:28 215
原创 c++: vector 简介
向量 vector 是一种对象实体, 能够容纳许多其他类型相同的元素, 因此又被称为容器。 与string相同, vector 同属于STL(Standard Template Library, 标准模板库)中的一种自定义的数据类型, 可以广义上认为是数组的增强版。在使用它时, 需要包含头文件 vector, #include<vector>vector 容器与数组相比其优点在于它能够根据需要随时自
2017-10-05 05:24:56 222
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人