Article

Coding Interview Question: Given an integer, write a function to return its roman numeral representation. Click for the solution.

Article

Article

Coding Interview Question: Given a linked list, determine whether it contains a cycle. Click for the solution.

Article

Coding Interview Question: Given two integers, write a function that swaps them without using any temporary variables. Click for the solution.

Article

Coding Interview Question: Given a time, write a function to find the angle between the two hands on a clock representing that time. Click for the solution.

Article

Coding Interview Question: Given an integer n, write a function to compute the nth Fibonacci number. Click for the solution.

Article

Coding Interview Question: Given two lines on a Cartesian plane, write a function to determine whether or not the lines intersect. Click for the solution.

Article

Coding Interview Question: Given a linked list, write a function that prints the nodes of the list in reverse order. Click for the solution.

Article

Coding Interview Question: Given two integers, determine whether or not their binary representations differ by a single bit. Click for the solution.

Article

Coding Interview Question: Given sorted arrays A and B, where the length of A is A+B, copy the contents of B into A. Click for the solution.

Article

Coding Interview Question: Given a number, write a function to rotate the bits (ie circular shift). Click for the solution.

© Byte by Byte 2016-2022

Get fully prepared for your Coding Interview and **save 20%** with Exponent. Learn More →

Sounds impossible right? It’s not!

Let me show you the RIGHT way to study for interviews so you can ace your Google Interview without breaking a sweat.

Download my FREE guide to the 50 most common coding interview questions asked at companies like Google, Facebooks, and Amazon.