f*6
2 楼
DVR Scheduler
A client is asking you to build software for their new DVR device.
Input to the system will be:
• Date
• Timespan
• Channel
At minimum, your system needs to provide an interface for the DVR system
that allows users to enter schedules, and also allows the recording
equipment to query what channel it should be recording at a certain time.
Notes For this system, account for any implementation details that you feel
are missing in whatever way you think makes the most sense. Realize that
details have been left out intentionally so that you can demonstrate your
ability to make reasonable decisions about what you implement (and how)
in the time you have available to you, and for you to explain and justify
those decisions to us.
Example
For example, if the user has entered the following schedule:
Date Time Channel
02/11/2014 5:00pm-8:00pm 314
02/11/2014 7:30pm-10:00pm 215
02/11/2014 9:00pm-11:00pm 182
Your program would respond with output somewhat equivalent to this:
Input Output
2/11/2014 6:10pm Record 314
2/11/2014 8:30pm Record 215
2/11/2014 10:30pm Record 182
2/11/2014 3:00pm Not recording
2/11/2014 7:45pm ?
Note that the behavior is undefined at 7:45, since the DVR has been
instructed to record on channel 215 and 314 at that time. Your job is to
come up with a reasonable conflict resolution system.
Tips
• This problem is bit more complicated than meets the eye. You don’t
have to solve all the problems, but being aware of the concerns should guide
your implementation without making it overly complicated.
• Consider the cases where a user schedules more than two programs to
record at the same time.
• The recording software is able to query by time for what channel to
record on, but how does it know where to save the files?
• How does the DVR know which recordings go with which instructions
from the user when the user goes to play the recordings?
大牛可以提供提供思路吗?谢谢
A client is asking you to build software for their new DVR device.
Input to the system will be:
• Date
• Timespan
• Channel
At minimum, your system needs to provide an interface for the DVR system
that allows users to enter schedules, and also allows the recording
equipment to query what channel it should be recording at a certain time.
Notes For this system, account for any implementation details that you feel
are missing in whatever way you think makes the most sense. Realize that
details have been left out intentionally so that you can demonstrate your
ability to make reasonable decisions about what you implement (and how)
in the time you have available to you, and for you to explain and justify
those decisions to us.
Example
For example, if the user has entered the following schedule:
Date Time Channel
02/11/2014 5:00pm-8:00pm 314
02/11/2014 7:30pm-10:00pm 215
02/11/2014 9:00pm-11:00pm 182
Your program would respond with output somewhat equivalent to this:
Input Output
2/11/2014 6:10pm Record 314
2/11/2014 8:30pm Record 215
2/11/2014 10:30pm Record 182
2/11/2014 3:00pm Not recording
2/11/2014 7:45pm ?
Note that the behavior is undefined at 7:45, since the DVR has been
instructed to record on channel 215 and 314 at that time. Your job is to
come up with a reasonable conflict resolution system.
Tips
• This problem is bit more complicated than meets the eye. You don’t
have to solve all the problems, but being aware of the concerns should guide
your implementation without making it overly complicated.
• Consider the cases where a user schedules more than two programs to
record at the same time.
• The recording software is able to query by time for what channel to
record on, but how does it know where to save the files?
• How does the DVR know which recordings go with which instructions
from the user when the user goes to play the recordings?
大牛可以提供提供思路吗?谢谢
h*e
8 楼
弱弱地问,不加plan是不是相当于告诉别人我是要买来卖的?自用的话不买plan还能干
什么?
什么?
相关阅读
master加四年多工作经验,想跳F和G应该面什么level拿到xvidoes和pornhub的offer,去哪个?U家现在文化咋样?ISU 博士后招聘美东初冬,腿上冷了咋办?UI UX Engineer请教正常的code review应该是如何的为什么要把group member 信息放到网上,还带照片和毕业学校computer vision PhD都去哪了。。mitbbs内推后hr问怎么认识的uber的background check (转载)36岁了,总想辞职,对工作有抵触心理其实我面西雅图lyft的时候,感觉挺好!而且五个面试官feedback都很互相符合西雅图股票群一个叫和川的傻逼,你能不能安静一点? (转载)在单位被边缘化怎么办美国整体制造业岗位空缺高达713.6万,各公司急缺人才Re: 北美华人软件工程师协会正式成立G家T4->T5 promoGoogle到底有多好?比Facebook综合起来能强50%吗?谈加薪20%过份吗?