All Hard Articles
We are given the Integer n and also in the next line 2*n integers which represent a Arithmetic Progression series a1, a2, a3…a2n they are… Read More
Given multiple ranges [L, R] and a prime number p, we need to find all P-smooth numbers in given individual ranges. What is P –… Read More
Prerequisite: Hamiltonian Cycle Given an integer n(>=2), find a permutation of numbers from 1 to n such that the sum of two consecutive numbers of… Read More
Print 1 2 3 infinitely using thread. Create three threads viz T1, T2, and T3 such that those should print 1 2 3 sequence infinitely.… Read More
Round 1: First round was taken on mettl, online judge. There was two questions and that required to be done in 1hr 1. A paragraph… Read More
Given an integer n(in seconds).Convert it into days, hours, minutes and seconds.Examples:  Input : 369121517Output : 4272 days 5 hours 45 minutes 17 secondsInput :… Read More
There are certain situation when we want to make some of the public base class functions as private in the derived class. Suppose both base… Read More
Given a standard football, regular hexagons and pentagons are drawn on it as shown in the picture. Find out the number of hexagons and pentagons.… Read More
This was a drive for SDE-1 and SDE-2 . HackerRank Round: This was an one hour test with two questions on hackerrank platform Given a… Read More
Prerequisite: Basic Dynamic Programming, Bitmasks Consider the following problem where we will use Sum over subset Dynamic Programming to solve it. Given an array of 2n integers,… Read More
Puzzle: Four glasses are placed on the corners of a square plate which can rotate about its center. Glasses are either upright (up) or upside-down… Read More
Round 1 : This was online coding  round consisting of 2 coding questions each of 100 marks  and 15 objective questions each of 2 marks.If… Read More
I applied through an employee referral. The process took around 2 weeks. I was interviewed at Microsoft (Bangalore) in November 2017. Mainly they wanted developers… Read More
In this article, we will discuss the Lucas-Lehmer series which is used to check the primality of prime numbers of the form 2p – 1… Read More
Given a number N. our task is to find the closest Palindrome number whose absolute difference with given number is minimum and absolute difference must… Read More
Given a number N, print a hollow square of side with N asterisks(‘*’), and inside it print a hollow square of side N-4 asterisks(‘*’).Examples :  … Read More
Non-deterministic Finite Automata (NFA) : NFA is a finite automation where for some cases when a single input is given to a single state, the… Read More
I have around 3 years and 4 months of experience as a software developer. I recently interviewed with ixigo for the position of SDE2 backend… Read More
Adobe came in our college for MTS (Member of Technical Staff profile). Round 1: This was an online round conducted on Hackerrank platform.It had 3… Read More
In previous post i.e. Set 1 we have discussed that implements these below functions: insert(H, k): Inserts a key ‘k’ to Binomial Heap ‘H’. This… Read More