Solved

Calculate the volume of a cone

Calculate the volume of a cone given an array containing one column of radii and one column of the height of the cone. * Reme...

1 year ago

Solved

Find The Difference

Vector x is given.calculate the difference between the biggest and the smallest number that we can create from elements of x. f...

1 year ago

Solved

Distance Between Points

Being n the number of points (If n = 3 there would be 3 points: A, B and C). The distance between each pair of points increases...

1 year ago

Solved

Find the area of a triangle having vertices (A,B), (C,D), and (E,F)

Find the area of a triangle using if we have the three vertices of the triangle

1 year ago

Solved

Hoax Numbers

A Hoax Number (OEIS A019506) is defined as a composite number, whose sum of digits is equal to the sum of digits of its distinct...

1 year ago

Solved

Minimum jumps to reach end of the array

Given an array of integers where each element represents the max number of steps that can be made forward from that element. Ste...

1 year ago

Solved

Queen's move - 02

In continuation with the problem-45236 ... In the previous problem, it was assumed that there were no other chess pieces on th...

1 year ago

Solved

Queen's move

given a number of consecutive moves of queen, check for their validity based on their previous position.... but remember if u g...

1 year ago

Solved

Josephus Survivor

The <http://en.wikipedia.org/wiki/Josephus_problem Josephus Challenge> is to find the position that is the last remaining when e...

1 year ago

Solved

Graph Algorithms 3: Number of Connected Components

Given an adjacency matrix of a simple undirected graph, find the number of connected components.

1 year ago

Solved

Determine connected components of a graph

Adjacency matrix of an undirected graph is given. Return the number of connected components in the graph.

1 year ago