Community Profile

# Alex Gansmann

7 total contributions since 2015

View details...

Contributions in
View by

Solved

Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

mehr als 4 Jahre ago

Solved

Is my wife right?
Regardless of input, output the string 'yes'.

etwa 5 Jahre ago

Solved

Divisible by n, prime divisors (including powers)
For this problem, you will be provided an array of numbers (not necessarily in order). Return the array of numbers with only pri...

etwa 5 Jahre ago

Solved

Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

etwa 5 Jahre ago

Solved

Get the array of sum for three consecutive numbers in an array
Get the array of sum, for three consecutive numbers in an array. if Input 'x' does not have at-least 3 elements then 'y' shou...

etwa 5 Jahre ago

Solved

Determine the mean of matrix
Determine the mean of matrix without using mean function Hint: use simple algorithm

etwa 5 Jahre ago

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

etwa 5 Jahre ago