由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - 问个数据结构的问题
相关主题
弱问个数据结构的问题这道题要用什么数据结构?
今天Amazon的phone interview关于system design 问题的回答
弱弱的问问跟hash有关的问题An Old Question -- Top N Occurance Frequance
请教一个新鲜算法面试题HashTable space complexity?
急只有几个小时时间, 如何快速复习基本数据结构和算法请问一下啥是static/dynamic heap?
问道关于LRU的题目问个amazon面试题
有没有必要把各种数据结构的实现自己都写几遍写熟?问个几道结构设计题
这道题目怎么做?问个 combination 问题
相关话题的讨论汇总
话题: courses话题: certain话题: students话题: hashmap话题: many
进入JobHunting版参与讨论
1 (共1页)
f*******e
发帖数: 3
1
many students, many courses, both dynamically growing.
design a data structure so that you can easily find out:
all the students who are taking a certain course, and
all the courses a certain student takes.
l*****8
发帖数: 1083
2
HashMap + HashMap

【在 f*******e 的大作中提到】
: many students, many courses, both dynamically growing.
: design a data structure so that you can easily find out:
: all the students who are taking a certain course, and
: all the courses a certain student takes.

j******o
发帖数: 4219
3
2-D arraylist?
x*****a
发帖数: 610
4
如何使得col和row都能dynamic grow?
ArrayList 如何?

【在 j******o 的大作中提到】
: 2-D arraylist?
n*******s
发帖数: 17267
5
直觉是上bitmap
1 (共1页)
进入JobHunting版参与讨论
相关主题
问个 combination 问题急只有几个小时时间, 如何快速复习基本数据结构和算法
问个Java的HashSet.contains的问题问道关于LRU的题目
问个这个排序问题有没有必要把各种数据结构的实现自己都写几遍写熟?
问个sorting的问题这道题目怎么做?
弱问个数据结构的问题这道题要用什么数据结构?
今天Amazon的phone interview关于system design 问题的回答
弱弱的问问跟hash有关的问题An Old Question -- Top N Occurance Frequance
请教一个新鲜算法面试题HashTable space complexity?
相关话题的讨论汇总
话题: courses话题: certain话题: students话题: hashmap话题: many