Skip to content
All Medium Articles
Introduced in Java 8, the Stream API is used to process collections of objects. A stream is a sequence of objects that supports various methods… Read More
The Longest Bitonic Subsequence problem is to find the longest subsequence of a given sequence such that it is first increasing and then decreasing. A… Read More
Round 1: (Online in Hackerrank) 20 MCQ questions based on outputs, DS, OS, DBMS.Hey geek! It's time to become a success story instead of reading… Read More
Ank and Mini play a game of tick-tack-toe. In this game, the players try to get three circles or three crosses in a row (horizontal,… Read More
Prerequisites: BIT, DFS Given a rooted tree T, with ‘n’ nodes, each node has a color denoted by the array color[](color[i] denotes the color of… Read More
Prerequisites: Minimax Algorithm in Game Theory, Evaluation Function in Game TheoryAlpha-Beta pruning is not actually a new algorithm, rather an optimization technique for minimax algorithm.… Read More
We have discussed flattening of a multi-level linked list where nodes have two pointers down and next. In the previous post, we flattened the linked… Read More
Given a N X N binary matrix, find the size of the largest ‘+’ formed by all 1s.Example:   Attention reader! Don’t stop learning now. Get… Read More
Round 1: (online in hackerrank) 20 MCQ questions based on outputs, OS, DBMS.Hey geek! It's time to become a success story instead of reading them.… Read More
Given a binary tree, print nodes of extreme corners of each level but in alternate order.Example:   Become a success story instead of just reading about… Read More
Telephonic  Production level code in any language was expected with unit test. Collabedit link was shared before interview  Hey geek! It's time to become a success… Read More
numeric header in C++ STL | Set 1 adjacent_differenceTake a step-up from those "Hello World" programs. Learn to implement data structures like Heap, Stacks, Linked… Read More
Given an array of integers, replace every element with the least greater element on its right side in the array. If there are no greater… Read More
Hi, Recently I got a chance to attend the off campus interview with Amazon (SDE-1).Every code they asked to write on paper and full production… Read More
Given an array of positive and negative numbers, arrange them such that all negative integers appear before all the positive integers in the array without… Read More
Java code:  The Longest Increasing Subsequence (LIS) problem is to find the length of the longest subsequence of a given sequence such that all elements… Read More
Recently, TeraData visited our campus for both developer and test developer profiles. I have been shortlisted for developer profile. Round 1 : Written TestHey geek!… Read More
Given a string of lowercase alphabets, count all possible substrings (not necessarily distinct) that has exactly k distinct characters. Examples:   Input: abc, k = 2 Output:… Read More
Online Round: 2 Programming questions for 2 Hours Convert set of strings in number as given on phone keypad. String will contain only lower case… Read More
I had worked at TCS,Chennai for 6 months and then was working at SAPLabs,Bangalore for last one year. I was interviewed at Amazon,World Trade Center… Read More

Start Your Coding Journey Now!