Solved


First Unique Character
Given a character vector s, return the first character that appears exactly once in s. If every character repeats at least once...

28 days ago

Solved


Prime or No
If the number is prime, make theCase = "YES", else, make it "NO".

29 days ago

Solved


Multiply the Diagonals of Two Vectors
Find the diagonals of vectors a and b and multiply them.

29 days ago

Solved


Watermelon [MATLAB Cody Edition]
YOU CAN READ THE REAL CHALLENGE FROM THIS URL AND APPLY IT https://codeforces.com/problemset/problem/4/A NOW INSTEAD OF DISP...

1 month ago

Solved


varargin
Write a function that can take a diffrent Amount of inputs for every run Which gives you the sum of all Inputs. Example: f(a,b...

1 month ago

Solved


Switch-Case-Otherwise
You should make random numbers to 10, by 3 rows and 3 columns. Cases from 1 to 3, b = true. Otherwise, b = false.

1 month ago

Solved


List Chen primes
A Chen prime is a prime number p such that p+2 is either prime or semiprime. The number 17 is a Chen prime because 17+2 = 19 is ...

1 month ago

Solved


Problem Set 2
Make a calculator by the four main operators (op): + - * / And the two numbers (n1, n2). Don't forget to check to divisio...

1 month ago

Solved


Problem Set 1
You will get the vector "v", you should put it's length in a variable called "lngth", then... If it's length from 1 to 5, sz = ...

1 month ago

Solved


NOT
If a not equal to zero, b = true, else, b = false.

1 month ago

Solved


OR
If a greater than zero or c less than 10, b = true, else, b = false.

1 month ago

Solved


AND
If a greater than 0 and n less than 10, b = true, else, b = false. (Checking a should be in one line by AND special sign in MAT...

1 month ago

Solved


Nested If(s)
If a greater than zero, then check, if a = greater that 1 and less than 10, then b = true, else, b = false.

1 month ago

Solved


List the semiprimes
A semiprime number—or a 2-almost prime—is the product of two prime numbers. The numbers and are semiprimes, but and are not....

1 month ago

Solved


If-Elseif-Else
If a more than zero, b = true, if a = zero , b = zero, else, b = false.

1 month ago

Solved


If-Else
If a more than zero, b = true, else, b = false.

1 month ago

Solved


If
If a more than zero, then b = true.

1 month ago

Solved


Move Array Element by Offset with Optional Ring Mode
Move Element by Offset Write a function moveab(x, A, B, option) that moves the element at index A in array x by B positions. P...

1 month ago

Solved


Basic Physics X
Calculate the Kinetic Energy (KE) by Weight (w), Distanec (d), and Time (t) without Mass (m) or Speed (v).

1 month ago

Solved


Basic Physics IX
Calculate the Kinetic Energy (KE) by Weight (w) instead of Mass (m).

1 month ago

Solved


Basic Physics VIII
Calculate the Mechanical Energy (ME) when the point is B.

1 month ago

Solved


Basic Physics VII
Calculate the speed.

1 month ago

Solved


Basic Physics VI
Fing the Kinetic Energy (KE) by Distance (d) and Time (t) instead of Speed (v).

1 month ago

Solved


Basic Physics V
Calculate the Weight (w).

1 month ago

Solved


Calculate the h-index (revisited)
H-index is a powerful tool for quantifying the scientific contribution of a researcher. The H-index is defined as follows (fro...

1 month ago

Solved


Count the even numbers in a multiplication table
A multiplication table that has products of numbers from 1 to 10 has 75 even numbers among the products. Write a function to c...

1 month ago

Solved


Basic Physics V
Calculate the Work.

1 month ago

Solved


Get The Opposite Of The Number Without Negative (-) On It
You must get the opposite of the number X without making -X. Hint: You can make it by Subtraction and Multiplication.

1 month ago

Solved


Get The Square Root Of Number Power (^) Three
Get the Square Root of number Power (^) Three.

1 month ago

Solved


Rhombus
Get the area of the Rhombus using it's Diagonals.

1 month ago

Load more