A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Flip coins

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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.

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Upper case and lower case!

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Apply mirrored edges to a matrix

plus de 3 ans il y a

A résolu


apply zero padding to a matrix

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Similar triangles

plus de 3 ans il y a

A résolu


Min-Max digit

plus de 3 ans il y a

A résolu


End Digits

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Highest building

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Do you have the minimum age?

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Calculate the volume of the football

plus de 3 ans il y a

A résolu


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.

plus de 3 ans il y a

A résolu


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

plus de 3 ans il y a

A résolu


Find the area between curves (P4)

plus de 3 ans il y a

A résolu


Find the area between curves (P3)

plus de 3 ans il y a

Charger plus