Find the largest of three numbers

$1.00


This is one of the most common software interview questions. Even though it's one of the simplest coding interview questions, a lot of people get it wrong. Interviewers ask this question because they want to see how fast the interviewee can do a context switch in her mind and her ability to think about some very basic problem.

What's included in the purchase

PDF file with the following:

  • Find the largest of three numbers question and answer
  • Find the largest number in a variable length argument list question and answer
  • Source code for all problems

Length

3 pages

Difficulty

Easy

About the author 

The author has over 15 years of experience as architect and engineering director for several Fortune 500 companies.  He loves programming interviews and writes frequently on the topic.  Here are some additional details about the author:

- Expert in C#, .NET, ASP.NET, XML, XSLT, enterprise JAVA and client side technologies

- Extensive experience in C, C++, VB.Net, ASP, UML, Design Patterns and SEO

- Proficient in major databases including Microsoft SQL Server and Oracle

- In-depth knowledge of cloud providers including Amazon AWS and Microsoft Azure

- Clear understanding of all 3 major mobile platforms – iOS, Android and Windows Phone