Padovan Sequence similar to Fibonacci sequence with similar recursive structure. The recursive formula is, P(n) = P(n-2) + P(n-3) P(0) = P(1) = P(2) =… Read More »

## Output of Java Program | Set 9

Difficulty level : Intermediate Predict the output of following Java Programs. Program 1: class Gfg {     // constructor     Gfg()     {         System.out.println(“Geeksforgeeks”);     }            static Gfg… Read More »

## ecare Technology Labs Interview Experience | Set 1 (On-Campus)

The company came in our campus, for recruitment in their Noida office. Firstly there was a presentation from the company. 1st round : Online coding… Read More »

## Maximum sum of pairs with specific difference

Given an array of integers and a number k. We can pair two number of array if difference between them is strictly less than k.… Read More »

## Juggler Sequence

Juggler Sequence is a series of integer number in which the first term starts with a positive integer number a and the remaining terms are… Read More »

## OS Module in Python with Examples

The OS module in python provides functions for interacting with the operating system. OS, comes under Python’s standard utility modules. This module provides a portable… Read More »

## StringTokenizer methods in Java with Examples | Set 2

StringTokenizer methods in Java with example : / / | \ \ hasMoreToken nextToken countTokens nextElement hasMoreElements We strongly recommend to refer below post as… Read More »

## BitSet class methods in Java with Examples | Set 3

BitSet class methods in Set 3. / / | | | \ \ and notand flip isEmpty equal get intersect BitSet class methods in Java… Read More »

## Vector vs ArrayList in Java

ArrayList and Vectors both implement the List interface and both use (dynamically resizable) arrays for its internal data structure, much like using an ordinary array.… Read More »

## Smallest Palindrome after replacement

Given a string which has some lowercase alphabet characters and one special character dot(.). We need to replace all dots with some alphabet character in… Read More »

## Count all pairs with given XOR

Given an array of distinct positive integers and a number x, find the number of pairs of integers in the array whose XOR is equal… Read More »

## Deficient Number

A number n is said to be Deficient Number if sum of all the divisors of the number denoted by divisorsSum(n) is less than twice… Read More »

## Great West Interview Experience | Set 1

First written round on hirepro platform they asked questions on Quants, verbal, logical and technical mcqs mainly c++ and Java, written was medium level not… Read More »