Drop your Testimonial here Hello, I have been practicing questions on this site for the last 2 years and recently I got placed at Google.… Read More »

#
All Medium Articles

Background : In a flow network, an s-t cut is a cut that requires the source ‘s’ and the sink ‘t’ to be in different… Read More »

Given a fraction, find recurring sequence of digits if exists, otherwise print “No recurring sequence”. Examples: Input : Numerator = 8, Denominator = 3 Output… Read More »

Given N jobs where every job is represented by following three elements of it. Start Time Finish Time Profit or Value Associated Find the maximum… Read More »

Given postorder traversal of a binary search tree, construct the BST. For example, if the given traversal is {1, 7, 5, 50, 40, 10}, then… Read More »

Why is Java called the ‘Platform Independent Programming Language’? Platform independence means that execution of your program does not dependent on type of… Read More »

Given n items of different weights and bins each of capacity c, assign each item to a bin such that number of total used bins… Read More »

Given a string, we need to print all possible palindromes that can be generated using letters of that string. Examples: Input: str = “aabcb” Output:… Read More »

Given a word, find lexicographically greater permutation of it. For example, lexicographically next permutation of “gfg” is “ggf” and next permutation of “acb” is “bac”.… Read More »

Basically, all scripting languages are programming languages. The theoretical difference between the two is that scripting languages do not require the compilation step and are… Read More »

Introduction and Installation Grid System Buttons, Glyphicons, Tables Vertical Forms, Horizontal Forms, Inline Forms Progress Bar and Jumbotron Dropdowns In bootstrap, dropdowns are created using… Read More »

Hacker Rank round 13 MCQ on java and android Find count of given words in the list of sentences Skype round (interview started late) 2… Read More »

Background : Catalan numbers are defined using below formula: Catalan numbers can also be defined using following recursive formula. The first few Catalan numbers for… Read More »

Suppose f(x) be a function satisfying three conditions: 1) f(x) is continuous in the closed interval a <= x <= b 2) f(x) is differentiable… Read More »

Given two coins of denominations “X” and “Y” respectively, find the largest amount that cannot be obtained using these two coins (assuming infinite supply of… Read More »

Given two points p (x1, y1) and q (x2, y2), calculate the number of integral points lying on the line joining them. Example : If… Read More »

Function interposition is the concept of replacing calls to functions in dynamic libraries with calls to user-defined wrappers. What are applications? We can count number… Read More »

Round 1: Online Test The online test was comprised of 107 MCQ questions including 2 programming codes to be done in 90 minutes. Platform used was… Read More »

Binary Numbers is default way to store numbers, but in many applications binary numbers are difficult to use and a variation of binary numbers is… Read More »

Given a binary tree, we need to find maximum value we can get by subtracting value of node B from value of node A, where… Read More »