Given an integer X, the task is to partition its digit into two groups either A or B such that the sequence of digits is… Read More

# Category Archives: Analysis

Prerequisite:Comparison among bubble sort, insertion sort and selection sort. Write a C program to plot and analyze the time complexity of Bubble sort, Insertion sort… Read More

Given an integer N which is the number of rows, the task is to draw the number pattern in the shape of a double headed… Read More

Factor Analytics is a special technique reducing the huge number of variables into a few numbers of factors is known as factoring of the data,… Read More

Given the side of a square a which is kept inside a circle. It keeps expanding until all four of its vertices touch the circumference… Read More

Given a binary matrix. In a single operation, you are allowed to choose two adjacent elements and invert their parity. The operation can be performed… Read More

Given an array, arr[] of size N. Each second, an integer disappears for N seconds and after N seconds, it reappears at its original position.… Read More

Given an array arr[], the task is to find the number of pairs (arr[i], arr[j]) in the array such that arr[i] + arr[j] = arr[i]… Read More

Given an integer N, the task is to find two positive integers A and B such that A + B = N and the sum… Read More

Consider an array A[] of integers and the following two types of queries. update(l, r, x): multiply x to all values from A[l] to A[r]… Read More

Given a row of silver coins among which a special gold coin is present. Two players play the game, and with each move, a player… Read More

Given an integer S, the task is to find the coordinates of a triangle whose area is (S / 2). Examples: Input: S = 4 Output: (0,… Read More

Given an array arr[] of N positive integers, the task is to find an arrangement such that Bitwise AND of the first N – 1… Read More

Given two integers X and Y, the task is to convert X to Y using the following operations: Add any prime number to X. Subtract… Read More

A string is called good if it is made with only digits 0 to 9 and adjacent elements are different. The task is to find… Read More