A résolu


Double all elements in the array
Duplicate all elements in the array

14 jours il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

14 jours il y a

A résolu


Draw a '0' in a one matrix!

14 jours il y a

A résolu


Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.

14 jours il y a

A résolu


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

14 jours il y a

A résolu


Create a vector
Create a vector from 0 to n by intervals of 2.

14 jours il y a

A résolu


Whether the input is vector?
Given the input x, return 1 if x is vector or else 0.

14 jours il y a

A résolu


Get the length of a given vector
Given a vector x, the output y should equal the length of x.

14 jours il y a

A résolu


Inner product of two vectors
Find the inner product of two vectors.

14 jours il y a

A résolu


Arrange Vector in descending order
If x=[0,3,4,2,1] then y=[4,3,2,1,0]

15 jours il y a

A résolu


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

15 jours il y a

A résolu


The Case of the Missing Prototype – Identify the Thief by Comparing Suspects’ Evidence and Alibi Scores
After gathering fingerprints, alibis, sensor data, and digital clues, it’s time to pinpoint the thief. You have a struct array ...

18 jours il y a

A résolu


The Case of the Missing Prototype – Extract the Culprit’s Name from a Mixed Letter-and-Number Email Message
While tracing the suspect’s digital footprint, you recover an email containing a mixed string of letters and numbers.The letters...

18 jours il y a

A résolu


The Case of the Missing Prototype – Calculate the Car’s Average Speed Between GPS Readings to Trace the Escape Route
Using GPS data, you’ve obtained the total distance (in meters) traveled by the suspect’s car at equal time intervals.These readi...

18 jours il y a

A résolu


The Case of the Missing Prototype – Detect Tampered Sensor Readings from the Stolen Device’s Data Logs
You’ve recovered partial sensor data from the stolen prototype.Each reading is stored in a numeric vector data, but something se...

18 jours il y a

A résolu


The Case of the Missing Prototype – Check for Overlapping Alibis Between Suspects to Spot Inconsistencies
Each suspect in the case has provided an alibi — a time interval [start end] representing when they claim to have been elsewhere...

18 jours il y a

A résolu


The Case of the Missing Prototype – Restore the Correct Frame Order from the Corrupted Security Camera Footage
You’ve finally recovered the security camera footage from the Innovation Lab,but the system malfunctioned and stored frames in t...

18 jours il y a

A résolu


The Case of the Missing Prototype – Match the Footprints Found in the Lab to the Suspects’ Shoe Sizes
The dust on the Innovation Lab floor reveals several footprints.You’ve measured their shoe sizes and noted them in a vector size...

18 jours il y a

A résolu


The Case of the Missing Prototype – Decode the Secret Note Found on the Desk to Reveal a Hidden Message
On the lab desk, you discover a short note filled with strange letters. After examining it, you realize it’s written in a Caesa...

18 jours il y a

A résolu


The Case of the Missing Prototype – Check the Lab’s Logbook for Suspicious Late-Night Entries
After counting the fingerprints, you turn your attention to the security logbook.It records the entry hours (from 0 to 23) of ev...

18 jours il y a

A résolu


The Case of the Missing Prototype - Count the Fingerprints Found at the Lab Door to Begin Your Investigation
You arrive at the Innovation Lab where the secret prototype was stolen. The door has been dusted for fingerprints, and a technic...

18 jours il y a

A résolu


Energy Conversion 2

18 jours il y a

A résolu


Velocity Conversion
Given a velocity in mph, convert it to km/h. Round the answer to the fourth decimal place.

18 jours il y a

A résolu


Area Conversion 2

18 jours il y a

A résolu


Area Conversion 1

18 jours il y a

A résolu


Mass Conversion 2

18 jours il y a

A résolu


Mass Conversion 1

18 jours il y a

A résolu


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

19 jours il y a

A résolu


Temperature Conversion 2

19 jours il y a

A résolu


Temperature Conversion 1

19 jours il y a

Charger plus