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

presque 4 ans il y a

A résolu


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

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

presque 4 ans il y a

A résolu


Flip coins

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

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

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

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

presque 4 ans il y a

A résolu


Upper case and lower case!

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

presque 4 ans il y a

A résolu


Apply mirrored edges to a matrix

presque 4 ans il y a

A résolu


apply zero padding to a matrix

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

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

presque 4 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'

presque 4 ans il y a

A résolu


Similar triangles

presque 4 ans il y a

A résolu


Min-Max digit

presque 4 ans il y a

A résolu


End Digits

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

presque 4 ans il y a

A résolu


Highest building

presque 4 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

presque 4 ans il y a

A résolu


Do you have the minimum age?

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

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

presque 4 ans il y a

A résolu


Calculate the volume of the football

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

presque 4 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

presque 4 ans il y a

A résolu


Find the area between curves (P4)

presque 4 ans il y a

A résolu


Find the area between curves (P3)

presque 4 ans il y a

A résolu


Find the area between curves (P2)

presque 4 ans il y a

Charger plus