## Lobb Number

In combinatorial mathematics, the Lobb number Lm, n counts the number of ways that n + m open parentheses can be arranged to form the… Read More »

## Maximize volume of cuboid with given sum of sides

We are given the sum of length, breadth and height, say S, of a cuboid. The task is to find the maximum volume that can… Read More »

## Number of ways to insert a character to increase the LCS by one

Given two strings A and B. The task is to count the number of ways to insert a character in string A to increase the… Read More »

## Speed of boat in still water from speed of stream and times taken

Write a program to determine speed of the boat in still water(B) given the speed of the stream(S in km/hr), the time taken (for same… Read More »

## HTML | Images

Earlier, the webpages used to comprise of only texts, which made them appear quite boring and uninteresting. Fortunately, it wasn’t long enough that the ability… Read More »

## Distance between two points travelled by a boat

Write a program to determine the distance(D) between two points traveled by a boat, given the speed of boat in still water(B), the speed of… Read More »

## Speed of boat upstream and downstream

Write a program to find the speed of boat upstream and downstream. In order to calculate the speed of the boat upstream and downstream, we… Read More »

## Program to print the pattern ‘D’

In this article, we will learn how to print the pattern D using stars and white-spaces. Given a number n, we will write a program… Read More »

## Count the number of nodes at given level in a tree using BFS.

Given a tree represented as undirected graph. Count the number of nodes at given level l. It may be assumed that vertex 0 is root… Read More »

## The length of a string using pointers

Write a program to find the length of a string using pointers . Examples: Input : given_string = “geeksforgeeks” Output : length of the string… Read More »

## Smallest integer which has n factors or more

Given n, find the smallest integer which has n factors or more. It may be assumed that the result is less than 1000001. Examples: Input… Read More »

## help Command in Linux with examples

If you are new to LINUX operating system and having trouble dealing with the command-line utilities provided by LINUX then you really need to know… Read More »

## Program to implement ASCII lookup table

ASCII stands for American Standard Code for Information Interchange. Computers can only understand numbers, so an ASCII code is the numerical representation of a character… Read More »

## list::push_front() and list::push_back() in C++ STL

Lists are containers used in C++ to store data in a non contiguous fashion, Normally, Arrays and Vectors are contiguous in nature, therefore the insertion… Read More »