Featured Article

3-Way QuickSort

In simple QuickSort algorithm, we select an element as pivot, partition the array around pivot and recur for subarrays on left and right of pivot.

Featured Article

Why I didn’t go for lucrative offers of Ibibo/ZoomCar and decided to go for an entrepreneurial journey in the current Startup I am working for

ZoomCar Interview experience: Few weeks ago, I got a mail from Zoomcar HR saying that the CTO of the company wanted to have In-person interview with me.I was a bit shocked and confused, Since Zoomcar is now mid-size startup ,having a tech-team of 50+ people.But since the CTO directly called me for the interview so… Read More »

Featured Article

Look-and-Say Sequence

Find the n’th 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, 312211, 13112221, 1113213211, …

Featured Article

Length of shortest chain to reach a target word

Given a dictionary, and two words ‘start’ and ‘target’ (both of same length). Find length of the smallest chain from ‘start’ to ‘target’ if it exists, such that adjacent words in the chain only differ by one character and

Featured Article

Longest Consecutive Subsequence

Given an array of integers, find the length of the longest sub-sequence such that elements in the subsequence are consecutive integers, the consecutive numbers can be in any order.