由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
JobHunting版 - code challenge 求助
相关主题
一个Java问题求解Brainbench C++ 200 questions with answer $40/each
Google phone interview questionsopt加急[Update]
讨论一道的BB interview题据信怎么回复啊?
NTSB Position Available - Office of Research & Engineering[算法] unsorted array
National Transportation Safety Board Employment Opportunity (转载)老板这是在夸我还是在骂我
一个google面试题问一下background check
入职体检要hr给表格让医生填的吧?关于OPT90天unemployed过期,是不是只要拿到OFFER就可以了,有经验的进来说说?
publication record是什么意思?发表论文的记录Immunization record
相关话题的讨论汇总
话题: dvr话题: record话题: 2014话题: channel话题: 11
进入JobHunting版参与讨论
1 (共1页)
f********6
发帖数: 9
1
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?
大牛可以提供提供思路吗?谢谢
1 (共1页)
进入JobHunting版参与讨论
相关主题
Immunization recordNational Transportation Safety Board Employment Opportunity (转载)
之前被fire过,对之后找工作有多大影响?一个google面试题
问个老题入职体检要hr给表格让医生填的吧?
急问:H1B withdraw 以后, OPT 重新生效的问题publication record是什么意思?发表论文的记录
一个Java问题求解Brainbench C++ 200 questions with answer $40/each
Google phone interview questionsopt加急[Update]
讨论一道的BB interview题据信怎么回复啊?
NTSB Position Available - Office of Research & Engineering[算法] unsorted array
相关话题的讨论汇总
话题: dvr话题: record话题: 2014话题: channel话题: 11