Skip to content
All Medium Articles
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
Given a string, find out if the string is K-Palindrome or not. A K-palindrome string transforms into a palindrome on removing at most k characters… Read More
We have discussed following topics on Object Oriented Programming in Python Object Oriented Programming in Python | set-1 Object Oriented Programming in Python | Set… Read More
Indexing is a way to optimize the performance of a database by minimizing the number of disk accesses required when a query is processed. It… Read More
Pre-requisite: BIT(Binary Indexed Tree or Fenwick Tree), 2D BITGiven a 2D plane, respond to Q queries, each of the following type:  Insert x y –… Read More
Round 1(Written): Eligibility: All circuit branches. Hey geek! It's time to become a success story instead of reading them. Check out our most renowned DSA… Read More
Write code to convert a given number into words.Examples:   Input: 438237764 Output: forty three crore eighty two lakh thirty seven thousand seven hundred and sixty… Read More
Sometimes we need to manipulate the operation of a function according to the need, i.e changing some arguments to default etc. Predefining a function to… Read More