Designing a URL Shortening service like TinyURL

Read →

How would you implement a binary search?

Read →

Graph representation – How do you represent a graph as an adjacency list?

Read →

Graph representation – How do you represent a graph as an adjacency matrix?

Read →

What is a graph data structure and what are its uses?

Read →

How to Swap Two Numbers without Temp or Third variable in Java?

Read →

Calculate GCD (Greatest common divisor) of 2 numbers recursively.

Read →

How to Check Whether a Number is Palindrome or Not

Read →

Write a function to convert an input string to an integer.OR write your own atoi function.

Read →

Given a set of random strings, write a function that returns a set that groups all the anagrams together.

Read →