- 博客(3)
- 资源 (1)
- 收藏
- 关注
原创 哈希表实现
#include#define INT_MIN -65536struct hashTable{ int *table; int length; hashTable(int size):length(size) { table=new int[size]; for(int i=0;i<size;i++) table[i]=INT_MIN; }};int
2015-01-13 14:56:28 795
原创 leetcode-Set Matrix Zeroes
Set Matrix Zeroes Total Accepted: 25064 Total Submissions: 80609 My Submissions Question Solution Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.c
2015-01-07 04:25:53 807
原创 leetcode-Construct Binary Tree from Preorder and Inorder Traversal
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.class Solution {private: TreeNode *root; v
2015-01-01 22:23:20 769
线性系统高清收藏版(华南理工大学用)
2013-12-01
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人