---------------------------------------- > Date: Fri, 16 May 2008 07:13:35 -0700 > From: [EMAIL PROTECTED] > To: [EMAIL PROTECTED]; [email protected] > CC: [EMAIL PROTECTED] > Subject: Programming challenge > > Without using any built in date or time functions, write a program > that accepts two mandatory arguments. The first argument is a string > of the format "[H]H:MM {AM|PM}" and the second argument is an integer. > Assume the integer is the number of minutes to add to the string. The > return value or output of the program should be a string of the same > format as the first argument. For example AddMinutes("9:13 AM", 10) > would return "9:23 AM". The exercise isn't meant to be too hard. We > just want to see how you code. Feel free to do it procedurally or in > an object oriented way, whichever you prefer. Use any language you > want. While we don't want you to spend an inordinate amount of time on > this, make sure you send us commercial quality, production ready code. > It's part of the interview process, designed to give you an > opportunity to do your best work without time constraint and with all > your tools at your disposal. > >
While I firmly believe in seeing an applicant program, the problem with doing it ahead of time is that they'll find answers on the web, or get help from others. Otherwise this isn't too different from things I've asked people to whiteboard program. Gabe _________________________________________________________________ Make every e-mail and IM count. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list
