Tutorials  Articles  Notifications  Login  Signup


updates

Interview Lab

Practice on problems that touches every aspect of data structures and algorithms and crack coding interview.


Latest problems in this lab


Adding Reversed Numbers

The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedies. Therefore the dramatic advisor of ACM has decided to transfigure some tragedies into …

Try it


Level: Easy | Uploaded on Nov. 30, 2019


Withdraw money from ATM

Alice would like to withdraw X $US from an ATM. The cash machine will only accept the transaction if X is a multiple of 5, and Alice's account balance …

Try it


Level: Easy | Uploaded on Oct. 21, 2019


How many squares can come in a triangle

Suppose, you are given an isosceles tirangle with base B now your task in this problem is to firgure out how many 2×2 squares can come into it such that …


Try it


Level: Easy | Uploaded on Dec. 5, 2018


Multiply matrices

You are given two matrices. Let's call them a and b. Write a program to print multiplication of both of these matrices.

Try it


Level: Easy | Uploaded on Nov. 29, 2018


Print Hello world

Write a program to print 'Hello world'.

Try it


Level: Easy | Uploaded on Nov. 27, 2018


Basics

Print Hello world

Write a program to print 'Hello world'.

Try it


Level: Easy | Uploaded on Nov. 27, 2018


How many squares can come in a triangle

Suppose, you are given an isosceles tirangle with base B now your task in this problem is to firgure out how many 2×2 squares can come into it such that …


Try it


Level: Easy | Uploaded on Dec. 5, 2018


Withdraw money from ATM

Alice would like to withdraw X $US from an ATM. The cash machine will only accept the transaction if X is a multiple of 5, and Alice's account balance …

Try it


Level: Easy | Uploaded on Oct. 21, 2019


Multiply matrices

You are given two matrices. Let's call them a and b. Write a program to print multiplication of both of these matrices.

Try it


Level: Easy | Uploaded on Nov. 29, 2018



Arrays


Hash Maps and Dictionaries


Linked Lists


Sorting Algorithms


Search Algorithms


String Manipulation

Adding Reversed Numbers

The Antique Comedians of Malidinesia prefer comedies to tragedies. Unfortunately, most of the ancient plays are tragedies. Therefore the dramatic advisor of ACM has decided to transfigure some tragedies into …

Try it


Level: Easy | Uploaded on Nov. 30, 2019



Greedy Algorithms


Recursion and Backtracking


Stack and Que


Graphs


Trees


Dynamic Programming


Other problems