minnolina
Université de Toulon
Followers: 0 Following: 0
Programming Languages:
Python
Spoken Languages:
French, Italian
Pronouns:
She/her
Python
Spoken Languages:
French, Italian
Pronouns:
She/her
Feeds
解決済み
First Duplicate
Given an array of integers, return the first duplicate — i.e., the element that appears more than once and whose second appearan...
6ヶ月 前
解決済み
'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...
6ヶ月 前
解決済み
Breaking up a chocolate bar
You've got a chocolate bar of size , and you want to break it up into bite-sized () pieces. How many steps are required to do th...
6ヶ月 前
解決済み
Conditional transpose
You're given two vectors of the same length, x and y, which might be row or a column vectors. Your task is to ensure that y has ...
1年以上 前
解決済み
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.
1年以上 前
解決済み
Function minimization - beat fminbnd!
Matlab's fminbnd function finds a minimizer of a function within an interval. If often gets stuck in local minima. Can you do...
1年以上 前
解決済み
How Many Months Until It's Today Again?
Given a particular date, calculate how many months must pass before that same day of the month occurs on the same day of the wee...
1年以上 前
解決済み
What time can I drive after drinking?
At T o'clock, after a hard day of Matlab, I immediately start drinking and treat myself to N pints of tasty beer. Each beer I dr...
1年以上 前
解決済み
What is the current time in Darwin, Australia?
Traders need to track exchange calendars and trading hours in detail, and account for time zone differences and daylight savings...
1年以上 前
解決済み
Kaprekar Steps
6174 is the Kaprekar constant. All natural numbers less than 10,000 (except some with same digits) can be reduced to 6174 in the...
1年以上 前
解決済み
Elapsed Time
Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...
1年以上 前
解決済み
Percentage profit:4
If a shopkeeper is selling W gram of salt in 1 dollar he will face r% loss. How much salt he should sell in grams to make r% pro...
1年以上 前
解決済み
Reepeating numbers in array
Repeating numbers in array In = [1 0 0 0 2 0 0 0 3 0 0 0 0 0 5 0 0 0 0]. Out = [1 1 1 1 2 2 2 2 3 3 3 3 3 3 5 5 5 5 5].
1年以上 前
解決済み
Find the standard deviation of an array
given an array, find it's standard deviation without using the std() function. Use sample formula (n-1) for standard deviation a...
1年以上 前
解決済み
How many palindromes?
* Given a set of letters, count all possible palindromes, using all of those letters. * For example, if the set is {'A' 'A' 'A'...
1年以上 前
解決済み
Find the closest geyser prime
My wife and I celebrated our honeymoon and our recent anniversary in Yellowstone and Grand Teton National Parks. After returning...
1年以上 前
解決済み
Organic Chemistry
Determine the names of the organic component formed with carbon and hydrogen. For example, if n=1 the name is methane
1年以上 前
解決済み
Euclidean inter-point distance matrix
The Euclidean distance between two points in a p-dimensional space is a really common thing to compute in the field of computati...
1年以上 前
解決済み
Are you more familiar with iteration methods or Linear Algebra? Let's see together.
Given a sum result *_x_* value of a *_N_* number of addends, build an array of _*N*_ elements _*y*_ such that the following equa...
1年以上 前
解決済み
The Deadly Sin
Melvyn and Banner are fighting over chocolates. Melvyn has X chocolates, while Banner has Y. Whoever has a lesser number of choc...
1年以上 前
解決済み
Diagonal Product of A Square Matrix
For a matrix A, calculate the product of its diagonal elements. * Assume all input matrices are square & corresponding element...
1年以上 前
解決済み
Sum All Positive Elements
Output a scalar that is equal to the sum of all positive elements in a given vector/matrix. For Example: The sum of all positi...
1年以上 前
解決済み
Reverse a string
Return a string with the characters in reverse order from a given input string Ex: my_str = "Ciao" function should output "...
1年以上 前
解決済み
Convert RGB to Grayscale
Convert a 3 element RGB array to its correspoding grayscale pixel (a scalar) *Hint: a formula exists!
1年以上 前
解決済み
Palindrome Checker
Check to see if a given string is a palindrome (a word, phrase, or sequence that reads the same backward as forward). Output sh...
1年以上 前
解決済み
Alternating 1´s and 0´s in a matrix
Given an odd number n, write a function that creates a matrix y with dimension nxn alternating 1's and 0's, and starting with 1 ...
1年以上 前
解決済み
Check if is a square
Given four coordinates, write a function to check if they form a square on the XY plane.
1年以上 前











