Solved


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

5 months ago

Solved


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

5 months ago

Solved


'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...

5 months ago

Problem


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

5 months ago | 0 | 2 solvers

Solved


Subtraction
Given two numbers a and b subtract them

5 months ago

Solved


Multiplication
Given 2 numbers a and b mulitply them

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


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

5 months ago

Solved


Mode
Find the mode of a vector x

5 months ago

Solved


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

5 months ago

Solved


add num
add two numbers a and b

5 months ago

Solved


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

5 months ago

Solved


num to char
make num into char

5 months ago

Solved


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, ...

5 months ago

Solved


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

5 months ago

Solved


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

6 months ago

Solved


Prime Number
Determine if a number is prime

6 months ago

Solved


x = 1

6 months ago

Solved


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...

6 months ago

Solved


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...

6 months ago

Solved


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...

6 months ago

Solved


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...

6 months ago

Problem


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 ...

6 months ago | 0 | 4 solvers

Solved


Create a fibonacci series

6 months ago

Problem


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. ...

7 months ago | 0 | 3 solvers

Problem


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 ...

7 months ago | 0 | 4 solvers

Problem


Count the e-divisors of an integer
Cody Problem 2664 asks us to count the divisors of an integer, and Cody Problem 60843 involves listing the e-divisors of an inte...

7 months ago | 0 | 5 solvers

Solved


Test x = 1
Write a function to make the variable x = 1

7 months ago

Problem


Determine the e-divisors of an integer
From MathWorld: is called an e-divisor (or exponential divisor) of a number with prime factorization if and where for...

7 months ago | 0 | 5 solvers

Load more