## Finding nth term of any Polynomial Sequence

Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is… Read More »

Featured Article

Given a few terms of a sequence, we are often asked to find the expression for the nth term of this sequence. While there is… Read More »

Featured Article

Double hashing is a collision resolving technique in Open Addressed Hash tables. Double hashing uses the idea of applying a second hash function to key… Read More »

Featured Article

Loop Invariant Condition: Loop invariant condition is a condition about the relationship between the variables of our program which is definitely true immediately before and… Read More »

Many times while designing questions or algorithms we require to generate random numbers. We already have studied a built-in function in PHP for generating random… Read More »

Predict the output of below PHP programs: Question 1 Options: Error Welcome to GeeksforGeeks! Nothing Missing semicolon error Output: Nothing Explanation: If you need to… Read More »

Four glasses are placed on the corners of a square plate which can rotate about its center. Glasses are either upright (up) or upside-down (down)… Read More »

Prerequisite : Analyze-image-using-histogram Histogram equalization is a method in image processing of contrast adjustment using the image’s histogram. This method usually increases the global contrast… Read More »

Given an integer n, find the power of a given prime number(r) in n! Examples : Input : n = 6 r = 3 Factorial… Read More »

Round 1 : This was online coding round consisting of 2 coding questions each of 100 marks and 15 objective questions each of 2 marks.If… Read More »

The isPresent() function in Optional Class is used to evaluate whether the value if assigned to variable is present or not. Syntax value.isPresent() Returns: It… Read More »

We are given an array which consists of multiple dates in (Y-m-d) format. We have to write a program in PHP to sort all the… Read More »

PHP comes with a number of built-in functions which is used to sort arrays in an easier way. Here, we are going to discuss a… Read More »

Forms are used in webpages for the user to enter their required details that are further send it to the server for processing. A form… Read More »

Given an integer N, we need to find three integers(X, Y, Z) which can form a triangle with the following conditions: Lengths of sides are… Read More »

We are given a matrix, we need to check whether it is an orthogonal matrix or not. An orthogonal matrix is a square matrix and… Read More »

I applied through an employee referral. The process took around 2 weeks. I was interviewed at Microsoft (Bangalore) in November 2017. Mainly they wanted developers… Read More »

We are given two integers n and d, we need to count all n digit numbers that do not have digit d. Example : Input… Read More »

Given an array of n positive integers and a number k. Find the minimum number of swaps required to bring all the numbers less than… Read More »