## Padovan Sequence

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 »

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 »

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

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 »

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 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 »

This article is extension of below articles : Python List List Methods in Python | Set 1 (in, not in, len(), min(), max()…) List Methods… Read More »

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 example : / / | \ \ hasMoreToken nextToken countTokens nextElement hasMoreElements We strongly recommend to refer below post as… Read More »

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

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 »

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 »

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 »

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 »

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 »

An integer number in base 10 which is divisible by sum of it digits is said to be a Harshad Number. An n-harshad number is… Read More »