## C++ Program for Largest K digit number divisible by X

Integers X and K are given. The task is to find highest K-digit number divisible by X. Examples: Input : X = 30, K =… Read More »

## Largest K digit number divisible by X

Integers X and K are given. The task is to find the highest K-digit number divisible by X. Examples: Input : X = 30, K… Read More »

## Print a 2 D Array or Matrix in Java

Prerequisites : Arrays in Java, Array Declarations in Java (Single and Multidimensional) Method 1 (Simple Traversal) We can find number of rows in a matrix… Read More »

## Luhn algorithm

The Luhn algorithm, also known as the modulus 10 or mod 10 algorithm, is a simple checksum formula used to validate a variety of identification… Read More »

## Distributing all balls without repetition

Given N balls. For convenience, we denote color of each ball as — lowercase letter. We have to distribute N balls among K people. They… Read More »

## Puzzle | (Six Matches , Right Foot Forward)

THE SIX MATCHES : Shown in the sketch are six matchsticks: Can you rearrange them to make nothing? Solution: The puzzle is to make something… Read More »

## Computer Network | Efficiency of CSMA/CD

Prerequisite – Introduction to Ethernet, Basics of CSMA/ CD Carrier sense multiple access with collision detection (CSMA/CD) – The CSMA method does not tell us… Read More »

## Vector vs Raster Graphics

Before we begin with what vector graphics and raster graphics are, we must understand a few basic terms: Pixel : In Computer graphics a pixel,… Read More »

## Python Program for Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!

You have been given a series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!, find out the sum of the series till nth term.… Read More »

## Java Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!

You have been given a series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!, find out the sum of the series till nth term.… Read More »

## C++ Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!

You have been given a series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!, find out the sum of the series till nth term.… Read More »

## Program to find the sum of a Series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!

You have been given a series 1/1! + 2/2! + 3/3! + 4/4! +…….+ n/n!, find out the sum of the series till nth term.… Read More »

## strchr() function in C++ and its applications

In C++, strchr() is a predefined function used for finding occurrence of a character in a string. It is present in cstring header file. Syntax… Read More »

## Private Variables in Python

Prerequisite : Underscore in Python In Python, there is no existence of “Private” instance variables which cannot be accessed except inside an object. However, a… Read More »