Gblog SDE SHEET – A Complete Guide for SDE Preparation
What is SDE Sheet? SDE Sheet is a list of the most important topics or the most popular questions that are asked in the Software… Read More
You are given a bitonic sequence, the task is to find Bitonic Point in it. A Bitonic Sequence is a sequence of numbers which is… Read More
Given a string str we need to tell minimum characters to be added at front of string to make string palindrome.Examples:   Input : str =… Read More
Recently i was interviewed at Adobe(off-campus) Software-Engineer position and got placed. I would like to thank the whole GeeksforGeeks team for providing such a great… Read More
Given binary square matrix [n*n]. Find maximum integer value in a path from top left to bottom right. We compute integer value using bits of… Read More
Given a number n, the task is to calculate its primorial. Primorial (denoted as Pn#) is a product of first n prime numbers. Primorial of… Read More
Given three numbers a, b and m where 1<=b,m<=10^6 and ‘a’ may be very large and contains upto 10^6 digits. The task is to find… Read More
Given an array of distinct positive integers, the task is to find the maximum product of increasing subsequence of size 3, i.e., we need to… Read More
Given an array of size n such that array elements are in range from 1 to n. The task is to count a number of… Read More
Round 1:  Tell me about yourself.  Trapping Rain Water:Given n non-negative integers representing an elevation map where the width of each bar is 1, compute… Read More
Given n points in a Cartesian coordinate system. Count the number of triangles formed.  Examples:  Input : point[] = {(0, 0), (1, 1), (2, 0),… Read More
Method overloading in java is based on the number and type of the parameters passed as an argument to the methods. We can not define… Read More
SELECT TOP clause is used to fetch limited number of rows from a database. This clause is very useful while dealing with large databases. Basic… Read More
Given an array, count those pair whose product value is present in array. Examples:   Input : arr[] = {6, 2, 4, 12, 5, 3} Output :… Read More
A JAR (Java Archive) is a package file format typically used to aggregate many Java class files and associated metadata and resources (text, images, etc.)… Read More
Given a matrix of n*n size, the task is to print its elements in a diagonal pattern.     Input : mat[3][3] = {{1, 2, 3},… Read More