Interview Question to Make Queue using two stakes.

February 9, 2021

You have given two stacks and you need to create Queue data Structure. Now we know Stack data structure is “LIFO” access. LIFO = Last […]

Interview Question find nth term in Look and Say Sequence

February 9, 2021

Find the nth term in Look-and-say (Or Count and Say) Sequence. The look-and-say sequence is the sequence of below integers: 1, 11, 21, 1211, 111221, […]

Given two strings, s1 and s2, write code to check if s2 is a rotation of s1

February 4, 2021

This is very simple coding interview question to check your knowledge on linear search algorithm implementation. You have given two strings. For example: Input1: ‘erbottlewat’, […]

Check whether two strings are anagram of each other

February 4, 2021

Write a function to check whether two given strings are anagram of each other or not. Clarification: An anagram of a string is another string that contains […]

Coding Interview Question – Determine if a string has all Unique Characters

February 3, 2021

Interview Question: Given a string, determine if the string has all unique characters. This is Easy Level coding question. We can solve this problem by […]

Coding Interview Question – Design Tic Tac Toe Game

February 1, 2021

Many big tech companies like Amazon, Apple, Google ask design question to test client side development skill. Question: Create Tic Tac Toe Game. First we […]

Coding Interview Question: String Permutations.

February 1, 2021

Many Big Tech Companies like Google, Facebook, Amazon ask coding question about string permutations. In this post, we are covering the logical solution of string […]

Video Tutorial Series

December 23, 2020

Check Out Our Video Tutorials for Interview Practice!

Coding Challenge: Given an unsorted array A of size N of non-negative integers, find a continuous sub-array which adds to a given number S.

June 28, 2020

Input: [1, 2, 4, 6, 7, 5], 12 Output: [7,5] Logic Implementation: We can keep adding numbers from array. We can check conditions, if it […]

Design a webpage which can auto-post new posts when you reach the bottom of the page by using JavaScript.

April 26, 2020

First of all you need to create the html page which contains 1 or 2 posts, which means on the page you can show headline […]