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还能干
什么?
什么?
相关阅读
72k in Chicago vs 92k in LA急求!!!关于微软的面试机会华为 在欧美的雇员工作强度很大么?background check中的家庭住址capital one现在刚毕业的还能找到java方面的工作么?哪里有python编程的练习题阿?等面试结果中,求祝福面试题:GetNumber and ReleaseNumberglassdoor上的公司review可靠不?公司要用Skype 来跟我谈,请问要视频么?Statistician Job Opportunity白宫请愿:还有27天,谢谢大家努力,附27%链接 (转载)请教关于 F的电面QA need (Zynga)预定了做paypal测试过了2分钟还没收到email怎么办?glassdoor上的工资是多新的?关于工资negotiate的问题。内部Referral真的有用吗?问一个问题,关于保险哦,我是像找工作的人么。。。