All capital?
Are all the letters in the input string capital letters?
Examples:
'MNOP' -> 1
'MN0P' -> 0
1년 초과 전
문제를 풀었습니다
Reverse a matrix
Its simple. You have to reverse a given matrix.
1년 초과 전
문제를 풀었습니다
Area of a disk
Find the area of a disk or circle.
x= radius of the disk.
1년 초과 전
문제를 풀었습니다
Which values occur exactly three times?
Return a list of all values (sorted smallest to largest) that appear exactly three times in the input vector x. So if
x = [1 2...
1년 초과 전
문제를 풀었습니다
Replace pattern 0 1 0 and 1 0 1
Find and replace a pattern in a row of zeroes and ones.
* Find 1 0 1 and replace it with 1 1 1
* Find 0 1 0 and replace it w...
Get all prime factors
List the prime factors for the input number, in decreasing order. List each factor. If the prime factor occurs twice, list it as...