Gelöst


Matrix convolution
A certain convolution step involves an elementwise multipication between two 3x3 matrices and taking the resulting sum of the el...

mehr als 3 Jahre vor

Gelöst


Count of Unique Elements of a Vector
Count the number of times each unique element appears in a vector. Example: Input x = [2 9 1 2 4 9 2] Output y = [1 1; 2 3; 4...

mehr als 3 Jahre vor

Gelöst


Fun with matrix
Design a sample matrix as given in the test cases

mehr als 3 Jahre vor

Gelöst


Determine point is located in a circle or not
Using input [x] and [y], determine the points (x,y) is located inside of circle (x^2+y^2=1) if point is located in circle, outp...

mehr als 3 Jahre vor

Gelöst


Flip coins

mehr als 3 Jahre vor

Gelöst


Determine whether the given number is palindrome or not.
A palindromic number (also known as a numeral palindrome or a numeric palindrome) is a number (such as 16461) that remains the s...

mehr als 3 Jahre vor

Gelöst


Find the number of days in a given year
Given a year number (eg. 2000) as input, find how many days are there in the given year.

mehr als 3 Jahre vor

Gelöst


Return the middle element of an NxN square matrix where N is odd
Let's say you are given an NxN square matrix where N is always going to be an odd number: x = [ 1 2 3 4 5 6 7 8 ...

mehr als 3 Jahre vor

Gelöst


Définir une fonction creneau
Definr une fonction "creneau" qui prend en entrée un vecteur et renvoie la valeur 1 pour chaque élément positif du vecteur et...

mehr als 3 Jahre vor

Gelöst


Upper case and lower case!

mehr als 3 Jahre vor

Gelöst


Area of a regular hexagon
Given the length of a side of a regular hexagon, return its area rounded to two decimal places.

mehr als 3 Jahre vor

Gelöst


Apply mirrored edges to a matrix

mehr als 3 Jahre vor

Gelöst


apply zero padding to a matrix

mehr als 3 Jahre vor

Gelöst


Cancel Middle
Write a function called cancel_middle that takes A, an n-by-m matrix, as an input where both n and m are odd numbers an...

mehr als 3 Jahre vor

Gelöst


Dominant Matrix - 01
A matrix is said to be diagonally dominant if for every row of the matrix, the magnitude of the diagonal entry in a row is large...

mehr als 3 Jahre vor

Gelöst


Which Prime
Given two prime numbers, specify the relation between them i.e. - 'Twin Prime', 'Cousin Prime', 'Sexy Prime' or 'None'

mehr als 3 Jahre vor

Gelöst


Similar triangles

mehr als 3 Jahre vor

Gelöst


Min-Max digit

mehr als 3 Jahre vor

Gelöst


End Digits

mehr als 3 Jahre vor

Gelöst


Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes. Example: the result ...

mehr als 3 Jahre vor

Gelöst


Highest building

mehr als 3 Jahre vor

Gelöst


Monty Python and the Holy Grail: Crossing the Bridge of Death
To cross the Bridge of Death, your function must return the numerical value for the airspeed velocity of an unladen swallow

mehr als 3 Jahre vor

Gelöst


Do you have the minimum age?

mehr als 3 Jahre vor

Gelöst


Sum of Arithmetic Progression
Given the starting number, difference and the number of terms - find the sum of the arithmetic progression.

mehr als 3 Jahre vor

Gelöst


Sum of 2 numbers in array
Given an array and a target sum, return true if any 2 numbers in the array sum up to the given target sum. Both numbers cannot h...

mehr als 3 Jahre vor

Gelöst


Calculate the volume of the football

mehr als 3 Jahre vor

Gelöst


Absolute Value of the Product of Complex Numbers
Find the absolute value (modulus) of the product of two complex numbers given by a + bi and c + di.

mehr als 3 Jahre vor

Gelöst


Sequence
Let S be a sequence of numbers Let Find for some , where and . Update - test suite cleaned up on 2-9-22

mehr als 3 Jahre vor

Gelöst


Find the area between curves (P4)

mehr als 3 Jahre vor

Gelöst


Find the area between curves (P3)

mehr als 3 Jahre vor

Mehr laden