Coding interview

Last updated

A coding interview, technical interview, programming interview or Microsoft interview is a technical problem-based job interview technique to assess applicants for a computer programming or software development position. Modern coding interview techniques were pioneered by Microsoft during the 1990s [1] and adopted by other large technology companies including Amazon, Facebook, and Google. [2] [3] Coding interviews test candidates' technical knowledge, coding ability, problem solving skills, and creativity, typically on a whiteboard. Candidates usually have a degree in computer science, information science, computer engineering or electrical engineering, and are asked to solve programming problems, algorithms, or puzzles. [4] [5] Coding interviews are typically conducted in-person or virtually.

Contents

Innovation

Microsoft's interview style was distinctive in that it concerned technical knowledge, problem solving and creativity as opposed to the goal and weaknesses interviews most companies used at the time. Initially based on Bill Gates's obsession with puzzles, many of the puzzles presented during interviews started off being Fermi problems, or sometimes logic problems, and have eventually transitioned over the years into questions relevant to programming. [6] As William Poundstone wrote, "Puzzles test competitive edge as well as intelligence. Like business or football, a logic puzzle divides the world into winners and losers. You either get the answer, or you don't. … Winning has to matter." [6] :62

Questions

The questions asked during a coding interview are crafted to determine a candidate's problem solving, coding and design abilities. Eccentric questions (such as "Which of the fifty states would you remove?") test a candidate's ability to come to a decision and articulate it. [6] :67 Candidates answering questions should consider the use of technology in the present and future, and user scenarios. Some questions involve projects that the candidate has worked on in the past.

A coding interview is intended to seek out creative thinkers and those who can adapt their solutions to rapidly changing and dynamic scenarios.[ citation needed ]

Typical questions that a candidate might be asked to answer during the second-round interview include:[ citation needed ]

Manhole test

Microsoft popularized the question of why manhole covers are typically round (in some countries) when they began asking it as a job interview question. [6] [7] Originally meant as a psychological assessment of how one approaches a question with more than one correct answer, the problem has produced a number of alternative explanations, from the tautological ("Manhole covers are round because manholes are round.") [6] to the philosophical.

By 2012, the practice of asking lateral thinking questions had declined at companies including Microsoft and Google. A study by San Francisco State University associate professor of psychology Chris Wright found that puzzle interview questions annoyed job applicants. "Methods that had a transparent relationship between test content and job duties, such as interviews, work samples, and reference checks were perceived more favorably," Wright wrote in a research paper entitled "Why Are Manhole Covers Round? A Laboratory Study of Reactions to Puzzle Interviews". Poundstone, who had written puzzle interview guides for Microsoft and Google, referred to puzzle questions in 2012 as "a sort of fad" that lost popularity because of a lack of evidence of their effectiveness. [1]

Related Research Articles

<span class="mw-page-title-main">Interview</span> Structured series of questions and answers

An interview is a structured conversation where one participant asks questions, and the other provides answers. In common parlance, the word "interview" refers to a one-on-one conversation between an interviewer and an interviewee. The interviewer asks questions to which the interviewee responds, usually providing information. That information may be used or provided to other audiences immediately or later. This feature is common to many types of interviews – a job interview or interview with a witness to an event may have no other audience present at the time, but the answers will be later provided to others in the employment or investigative process. An interview may also transfer information in both directions.

Situation puzzles are often referred to as minute mysteries, lateral thinking puzzles or "yes/no" puzzles.

Knights and Knaves is a type of logic puzzle where some characters can only answer questions truthfully, and others only falsely. The name was coined by Raymond Smullyan in his 1978 work What Is the Name of This Book?

<span class="mw-page-title-main">Law School Admission Test</span> US and Canadian standardized test

The Law School Admission Test is a standardized test administered by the Law School Admission Council (LSAC) for prospective law school candidates. It is designed to assess reading comprehension and logical reasoning. The test is an integral part of the law school admission process in the United States, Canada, the University of Melbourne, Australia, and a growing number of other countries.

<span class="mw-page-title-main">Manhole cover</span> Removable plate atop an opening large enough for a person to pass through

A manhole cover or maintenance hole cover is a removable plate forming the lid over the opening of a manhole, an opening large enough for a person to pass through that is used as an access point for an underground vault or pipe. It is designed to prevent anyone or anything from falling in, and to keep out unauthorized persons and material.

<span class="mw-page-title-main">Technical support</span> Maintenance service of electronic consumers

Technical support, also known as tech support, is a call centre type customer service provided by companies to advise and assist registered users with issues concerning their technical products. Traditionally done on the phone, technical support can now be conducted online or through chat. At present, most large and mid-size companies have outsourced their tech support operations. Many companies provide discussion boards for users of their products to interact; such forums allow companies to reduce their support costs without losing the benefit of customer feedback.

<span class="mw-page-title-main">Job interview</span> Type of interview

A job interview is an interview consisting of a conversation between a job applicant and a representative of an employer which is conducted to assess whether the applicant should be hired. Interviews are one of the most common methods of employee selection. Interviews vary in the extent to which the questions are structured, from an unstructured and informal conversation to a structured interview in which an applicant is asked a predetermined list of questions in a specified order; structured interviews are usually more accurate predictors of which applicants will make suitable employees, according to research studies.

<span class="mw-page-title-main">Barometer question</span> Exam question with one intended answer but many correct answers

The barometer question is an example of an incorrectly designed examination question demonstrating functional fixedness that causes a moral dilemma for the examiner. In its classic form, popularized by American test designer professor Alexander Calandra in the 1960s, the question asked the student to "show how it is possible to determine the height of a tall building with the aid of a barometer." The examiner was confident that there was one, and only one, correct answer, which is found by measuring the difference in pressure at the top and bottom of the building and solving for height. Contrary to the examiner's expectations, the student responded with a series of completely different answers. These answers were also correct, yet none of them proved the student's competence in the specific academic field being tested.

<span class="mw-page-title-main">Mutilated chessboard problem</span> On domino tiling after removing two corners

The mutilated chessboard problem is a tiling puzzle posed by Max Black in 1946 that asks:

Suppose a standard 8×8 chessboard has two diagonally opposite corners removed, leaving 62 squares. Is it possible to place 31 dominoes of size 2×1 so as to cover all of these squares?

A case interview is a job interview in which the applicant is presented with a challenging business scenario that he/she must investigate and propose a solution to. Case interviews are designed to test the candidate's analytical skills and "soft" skills within a realistic business context. The case is often a business situation or a business case that the interviewer has worked on in real life.

<span class="mw-page-title-main">Application for employment</span> Standard business document

An application for employment is a standard business document that is prepared with questions deemed relevant by employers. It is used to determine the best candidate to fill a specific role within the company. Most companies provide such forms to anyone upon request, at which point it becomes the responsibility of the applicant to complete the form and return it to the employer for consideration. The completed and returned document notifies the company of the applicant's availability and desire to be employed as well as their qualifications and background so that a determination can be made as to the candidate's suitability to the position.

<span class="mw-page-title-main">Common Entrance Examination for Design</span>

The Common Entrance Examination for Design (CEED) is a joint entrance exam for post-graduate studies in the field of technological design. The exams are held annually at all Indian Institutes of Technology (IITs) and Indian Institute of Science (IISc). The examination is hosted by the Industrial Design Centre, Indian Institute of Technology Bombay on behalf of Ministry of Human Resource Development, Government of India.

<span class="mw-page-title-main">Exam</span> Educational assessment

An examination or test is an educational assessment intended to measure a test-taker's knowledge, skill, aptitude, physical fitness, or classification in many other topics. A test may be administered verbally, on paper, on a computer, or in a predetermined area that requires a test taker to demonstrate or perform a set of skills.

<span class="mw-page-title-main">Competitive programming</span> Mind sport

Competitive programming or sport programming is a mind sport involving participants trying to program according to provided specifications. The contests are usually held over the Internet or a local network. Competitive programming is recognized and supported by several multinational software and Internet companies, such as Google and Meta.

<i>Are You Smart Enough to Work at Google?</i>

Are You Smart Enough to Work at Google? is a 2012 business book by Pulitzer Prize-nominated science writer, William Poundstone, describing details of the methods used and questions asked of job applicants to Google.

<span class="mw-page-title-main">National Center for Assessment in Higher Education</span>

Measurement is derived from the verb 'to measure' which means to assess something; in Arabic 'yaqees' 'measure' has the meaning of comparing something to something else. In this sense, measurement is a daily practice that manifests itself in all our assessment activities, whether we assess concrete things in terms of size and color, or abstract things such as human relations. The ultimate goal of 'measuring' something is to assess ourselves in comparison to everything else in the world.

<span class="mw-page-title-main">HackerRank</span> Competitive programming company

HackerRank is a technology company that focuses on competitive programming challenges for both consumers and businesses. Developers compete by writing programs according to provided specifications. HackerRank's programming challenges can be solved in a variety of programming languages and span multiple computer science domains.

<i>7 Billion Humans</i> 2018 video game

7 Billion Humans is a puzzle video game developed and published by American studio Tomorrow Corporation. It was released on August 23, 2018, for Microsoft Windows, macOS, Linux, and the Nintendo Switch on October 25, 2018. The game was later released for Android on July 25, 2021. Designed as a sequel to Human Resource Machine, players solve puzzles by moving multiple data cubes with human workers using an in-game programming language.

Codeforces is a website that hosts competitive programming contests. It is maintained by a group of competitive programmers from ITMO University led by Mikhail Mirzayanov. Since 2013, Codeforces claims to surpass Topcoder in terms of active contestants. As of 2019, it has over 600,000 registered users. Codeforces along with other similar websites are used by some sport programmers, like Gennady Korotkevich, Petr Mitrichev, Benjamin Qi and Makoto Soejima, and by other programmers interested in furthering their careers.

LeetCode is an online platform for coding interview preparation. The service provides coding and algorithmic problems intended for users to practice coding. LeetCode has gained popularity among job seekers and coding enthusiasts as a resource for technical interviews and coding competitions.

References

  1. 1 2 White, Martha C. (October 23, 2012). "No-Brainer: 'Brainteaser' Job Interview Questions Don't Work". Time. Retrieved July 4, 2022.
  2. Applicants blog after Google interview. Archived March 13, 2011, at the Wayback Machine
  3. Job Interviews Get Creative, NPR 2003. Retrieved from the World Wide Web on January 16, 2006.
  4. John Mongan (December 11, 2023), Programming Interviews Exposed: Secrets to Landing Your Next Job (2nd ed.), Wrox, ISBN   978-0-470-12167-2
  5. McDowell, Gayle Laakmann (2015). Cracking the coding interview : 189 programming questions and solutions (6th ed.). Palo Alto, CA. ISBN   978-0-9847828-5-7. OCLC   913477191.{{cite book}}: CS1 maint: location missing publisher (link)
  6. 1 2 3 4 5 Poundstone, William (2003). How Would You Move Mount Fuji. Boston: Little, Brown and Company. pp.  50–90. ISBN   0-316-91916-0.
  7. Davis, Jim (February 10, 2009). "Why Are Manhole Covers Round?". Joblossguide.com. Archived from the original on June 12, 2011. Retrieved 2011-04-08.