Resuelto


First Duplicate
Given an array of integers, return the first duplicate — i.e., the element that appears more than once and whose second appearan...

más de 1 año hace

Resuelto


Most Frequent Characters
Given a document file or a character array, identify the 'n' most frequently occurring characters and the number of times each a...

más de 1 año hace

Resuelto


Juros Simples
Faça uma função que calcule o montagem de um investimento com juros simples que receba como argumentos o capital inicial C, a ta...

más de 1 año hace

Resuelto


Greater than before
Given an array of integers, write a function that returns elements that are greater than the one before them. For instance, ...

más de 1 año hace

Resuelto


Unique rows
A matrix is given as the input. Remove any duplicate rows from the matrix. keep the first occurrence.

más de 1 año hace

Resuelto


'X'avier
Given a square matrix A of size n, write a function to create a new matrix B where only the elements on the main diagonal and th...

más de 1 año hace

Problema


Intersect three sequences
Most numbers have interesting properties, if you look hard enough and interpret “interesting” liberally. Let’s choose a number a...

más de 1 año hace | 0 | 4 solvers

Resuelto


Subtraction
Given two numbers a and b subtract them

más de 1 año hace

Resuelto


Multiplication
Given 2 numbers a and b mulitply them

más de 1 año hace

Resuelto


Division
Given two numbers a and b divide them a/b

más de 1 año hace

Resuelto


Remainder
Given two number a and b find the remainder when you divide a by b

más de 1 año hace

Resuelto


Find the mean
Find the mean of a given sdet of numbers in a vector x

más de 1 año hace

Resuelto


Mode
Find the mode of a vector x

más de 1 año hace

Resuelto


sum numbers to some value n
sum of numbers up to a value n

más de 1 año hace

Resuelto


add num
add two numbers a and b

más de 1 año hace

Resuelto


minecraft movie scramble
the following phrase "la la la lava ch ch ch chicken" will be out of order. make it into the correct order

más de 1 año hace

Resuelto


num to char
make num into char

más de 1 año hace

Resuelto


Maze Solver with Backtracking and Custom Cost Rules
Write a function solve_maze that finds a path from the top-left corner (1,1) to the bottom-right corner (m,n) of a 2D matrix M, ...

más de 1 año hace

Resuelto


Find the summation of factorial series
Factorial numbers are n! = 1*2*3....*n the series is 1!, 2!, 3!,........, n!

más de 1 año hace

Resuelto


Add two numbers
Given two numbers a and b add them together

más de 1 año hace

Resuelto


Prime Number
Determine if a number is prime

más de 1 año hace

Resuelto


x = 1

más de 1 año hace

Resuelto


What kind of triangle?
Write a function named check_triangle that receives three positive integers as input: a, b, and c. These three numbers are inte...

más de 1 año hace

Resuelto


Check if a Number is a Palindrome Without Converting to String
Write a function that checks if a given positive integer is a palindrome without converting the number to a string or using stri...

más de 1 año hace

Resuelto


Zero Out Negative Elements
Write a MATLAB function called zeroNegatives that takes a numeric vector v as input and returns a modified version where all neg...

más de 1 año hace

Resuelto


Matrix Diagonal Sum
Given a square matrix A of size n x n, write a function to compute the sum of the elements on both the main diagonal and the ant...

más de 1 año hace

Problema


Find the closest e-abundant numbers
An abundant number is an integer whose sum of its positive proper divisors—or the sum of its divisors excluding itself—exceeds ...

más de 1 año hace | 0 | 7 solvers

Resuelto


Create a fibonacci series

más de 1 año hace

Problema


List e-perfect numbers
A perfect number is an integer that equals the sum of its positive proper divisors—or the sum of its divisors excluding itself. ...

más de 1 año hace | 0 | 5 solvers

Problema


Sum powers of e-divisors
In number theory the function produces the sum of divisors of an integer raised to the power . Setting sums the divisors, as ...

más de 1 año hace | 0 | 7 solvers

Cargar más