# Category: Uncategorised

## Simon has given N ratios in the form of A and B that is represented as A/B.

Simon has given N ratios in the form of A and B that is represented as A/B. The values of A and B are represented…

## 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…

## Find the number of silver rectangles [FTC]

Suresh have “N” rectangles. A rectangle is Silver if the ratio of its sides is in between [1.6, 1.7], both inclusive. Your task is to…

## Quantum Mechanics relation with quantum computing

Quantum mechanics is a branch of physics that studies the behavior of matter and energy at the atomic and subatomic level. It has been extraordinarily…

## How to find the missing number in a given integer array of 1 to 100?

Let’s understand the problem statement, we have numbers from 1 to 100 that are put into an integer array, what’s the best way to find…

## Beginning Bash GNU

Why bash? Because bash is everywhere. It may not be the newest, and it’s arguably not the fanciest or the most powerful (though if not,…

## Unzipping Files using Python

To extract or uncompress a tarball, ZIP, or gzip ﬁle, Python’s tarﬁle, zipﬁle, and gzip modules are provided respectively. Python’s tarﬁle module provides the TarFile.extractall(path=”.”,…

## Floyd-Warshall Algorithm

All Pair Shortest Path Algorithm Floyd-Warshall’s algorithm is for ﬁnding shortest paths in a weighted graph with positive or negative edge weights.A single execution of…

## Odd-Even Sort

An Odd-Even Sort or brick sort is a simple sorting algorithm, which is developed for use on parallel processors withlocal interconnection. It works by comparing…

## Search an Element

Java program How to sort an array and search an element inside it Input: Array length followed by array elements and the element to be…

## Racing Horses

Chef is very fond of horses. He enjoys watching them race. As expected, he has a stable full of horses. He, along with his friends,…

## COMMON ELEMENTS BETWEEN TWO ARRAYS

Write a program to find common elements between two arrays.You should not use any inbuilt methods are list to find common values Input: size of…

## Calculate the average value of array element

TEST CASE 1INPUTN = 4ARR = 34 89 100 78 OUTPUT75 TEST CASE 2INPUTN= 5ARR = 5 4 3 2 1 OUTPUT3 OUTPUT: Input:Enter n…

## An Algorithm which accepts n integer values and calculates the average and prints it.

Design an algorithm which accepts n integer values and calculates the average and prints it.Input:First Line:Number of elements in the arraySecond Line:Elements of the listOutput:…

## Japanese Sake

Sake is an alcoholic beverage of Japanese origin made by fermenting rice that has been polished to remove the bran. It’s a popular drink in…

## The Lost explorer

Challenge: You are a programmer tasked with helping a lost explorer navigate their way out of a dense jungle. The explorer has a map with…

## How can Quantum Computing merge with Virtual Reality ? !

While quantum computing is still in its early stages, researchers believe it has the potential to significantly enhance and transform virtual reality (VR) experiences in…

## Blockchain and Cryptocurrency. And their relations with Virtual Reality !!

While cryptocurrency is often the first thing that comes to mind when discussing blockchain, it’s important to understand that blockchain technology is the foundation upon…

## Trending Topics in Computer Science World 2024

The world of computer science is constantly evolving, with new trends emerging and gaining momentum all the time. Here are some of the hottest topics…