roystormstout / Queue

2 stars 2 forks source link

Redundant Task #9

Closed lih666 closed 7 years ago

lih666 commented 7 years ago

Currently I make two copies of task. One for user task list, one for course list. Need to update.

roystormstout commented 7 years ago

Why don't you put the task in a class and then store the ids in both user and class class?

lih666 commented 7 years ago

如果用户单独打开自己CSE110这个类别的task,我们怎么查找?n^2复杂度了兄弟

roystormstout commented 7 years ago

o(n)啊。在用户里的task list里面检查所有是cse110 class的task

roystormstout commented 7 years ago

同是o(n)存在外面比较space efficient.

lih666 commented 7 years ago

How is this going?

roystormstout commented 7 years ago

I have put the task element outside, so it's finished.