Solved

Finding area of a triangle.

Find the area of an equalateral triangle with sides of 3 inches,

2 months ago

Solved

Integer Persistence, Product

Let's construct a sequence as follows: is a given natural number, and is the product of the digits of . The persistence of i...

2 months ago

Solved

Battery Charge Indicator

Write a function called battery_charge that visually represents the charge of a battery. The function takes an integer paramete...

2 months ago

Solved

Perfect shuffle

We call "perfect shuffle" the process of cutting a deck of cards into two equal halves, and then perfectly interleaving them: on...

2 months ago

Solved

Find the triplet

Given an array x of size n > 3 and an integer N, return the indices of three elements in the array that sum up to the given inte...

2 months ago

Solved

Find Next Strictly Greater Element

Given an array of numbers, create a new array where each element represents the next strictly greater element to the right of th...

2 months ago

Solved

Absolute Sorting

Given an array with various numbers, your have to sort it by absolute value in ascending order. For example, for the array [-2...

2 months ago

Solved

Remove Unique Elements

Given a list of integers, we want to keep only the non-unique elements in this list. To do this, we need to remove all the uniqu...

2 months ago

Solved

Find the largest sum of any contiguous subarray

Given an array of N integers, find the contiguous subarray (which must contain at least one number) with the maximum sum and ret...

2 months ago

Solved

Reverse Integer

You are given an integer, reverse its digits. For negative integers, the sign should remain in the front. For instance, 12340 s...

2 months ago

Solved

Find the number of diagonals in a n sided polygon.

Find the number of diagonals in a n sided polygon.

2 months ago

Solved

Recursive triangle area

Given triangle 1 with sides of length a, b, and c. Triangle 2 is constructed within triangle 1 by bisecting each side. Triangl...

2 months ago

Solved

Compute the Ramanujan tau function for large numbers

The Ramanujan tau function is defined by the relation where . The first few values of are 1, -24, 252, -1472, and 4830. Wr...

2 months ago

Problem

Compute the Ramanujan tau function for large numbers

The Ramanujan tau function is defined by the relation where . The first few values of are 1, -24, 252, -1472, and 4830. Wr...

2 months ago | 0 | 2 solvers

Solved

Find the square root of x

Determine the square root of x. For example square root of 4 is 2.

2 months ago

Solved

Compute the Ramanujan tau function

The Ramanujan tau function is defined by the relation where . The first few values of are 1, -24, 252, -1472, and 4830. W...

2 months ago