# Category: C++

## Find if n can be expressed as the sum of two desperate numbers

Sakthi has been acting strangely for a few days now. Finally, you (his best friend) found out that it was because his project proposal was…

## Find the number of integers ‘X’ in the range such that (Greatest common divisor) GCD(X, F(X)) > 1

Ragu has given a range (L, R] to Smith. Smith wants to require to find the number of integers ‘X’ in the range such that…

## Bubble Sort… – FcukTheCode

Parameter Description Stable Yes In place Yes Best case complexity O(n) Average case complexity O(n^2) Worst case complexity O(1) The BubbleSort compares each successive pair…

## Huffman Coding : Change-making problem ..:- fcukthecode

Huffman Coding -: Greedy Algorithms π π πLink –> HUFFMAN CODING Given a money system, is it possible to give an amount of coins and…

## Huffman Coding – Activity Selection Problem

Huffman Coding -: Greedy Algorithms π π πLink –> HUFFMAN CODING The ProblemYou have a set of things to do (activities). Each activity has a…

## Detecting a cycle in a directed graph using Depth First Traversal …FTC

Graph Theory is the study of graphs, which are mathematical structures used to model pairwise relations between objects.Introduction To Graph Theory β¦FTC π π π…

## Greatest of three numbers C++ [FTC]

Greatest of three numbers Rahul is entering three numbers into the system. He has to find the biggest number from thatinputs. Help rahul to find…

## Armstrong Number in C++…[FTC]

ArmstrongIf the sum of cube of each number is again equal to the number then it is a Armstrong number. simple logic.Refer sample Inputs and…

## [FTC] Hello World C++ [FTC]

HELLO WORLD in C++ Help raji to print “The Input” from the user end and it is the first program to raji. Give the input…

## Cuberoot C++ program…[FTC]

Ramu is collecting some random inputs from his maths teacher.Help ramu to calculate the cube root of the user input by using C++ program.Input: Get…