Community Profile

photo

Abdullah Taharat


Last seen: 2일 전 2021년부터 활동

Followers: 0   Following: 0

통계

  • CUP Challenge Master
  • Community Group Solver
  • Introduction to MATLAB Master
  • Draw Letters
  • Solver

배지 보기

Feeds

보기 기준

문제를 풀었습니다


Calculate the Hamming distance between two strings
Inspired by a similar Cody problem found <http://www.mathworks.com/matlabcentral/cody/problems/93-calculate-the-levenshtein-dist...

5일 전

문제를 풀었습니다


Add more zeros
Find code that adds one 0 to each sequence of 0 in a string (composed with only 0 or 1). For example: '1010' -> '100100' ...

5일 전

문제를 풀었습니다


Relative ratio of "1" in binary number
Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

5일 전

문제를 풀었습니다


Bit Reversal
Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

5일 전

문제를 풀었습니다


Find out sum and carry of Binary adder
Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

5일 전

문제를 풀었습니다


Convert given decimal number to binary number.
Convert given decimal number to binary number. Example x=10, then answer must be 1010.

5일 전

문제를 풀었습니다


Find the longest sequence of 1's in a binary sequence.
Given a string such as s = '011110010000000100010111' find the length of the longest string of consecutive 1's. In this examp...

5일 전

문제를 풀었습니다


Find nearest prime number less than input number
Find nearest prime number less than input number. For example: if the input number is 125, then the nearest prime number whi...

5일 전

문제를 풀었습니다


Sum of series IX
What is the sum of the following sequence: Σ 1/k! for k=1...n for different n?

5일 전

문제를 풀었습니다


Sum of series VI
What is the sum of the following sequence: Σk⋅k! for k=1...n for different n?

5일 전

문제를 풀었습니다


Sum of series V
What is the sum of the following sequence: Σk(k+1) for k=1...n for different n?

5일 전

문제를 풀었습니다


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

5일 전

문제를 풀었습니다


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

5일 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

5일 전

문제를 풀었습니다


Indexed Probability Table
This question was inspired by a Stack Overflow question forwarded to me by Matt Simoneau. Given a vector x, make an indexed pro...

5일 전

문제를 풀었습니다


Find common elements in matrix rows
Given a matrix, find all elements that exist in every row. For example, given A = 1 2 3 5 9 2 5 9 3 2 5 9 ...

5일 전

문제를 풀었습니다


Calculate the Levenshtein distance between two strings
This problem description is lifted from http://en.wikipedia.org/wiki/Levenshtein_distance. The Levenshtein distance between two...

5일 전

문제를 풀었습니다


Encode Roman Numerals
Create a function taking a non-negative integer as its parameter and returning a string containing the Roman Numeral representat...

5일 전

문제를 풀었습니다


Find the peak 3n+1 sequence value
A Collatz sequence is the sequence where, for a given number n, the next number in the sequence is either n/2 if the number is e...

5일 전

문제를 풀었습니다


Return a list sorted by number of occurrences
Given a vector x, return a vector y of the unique values in x sorted by the number of occurrences in x. Ties are resolved by a ...

5일 전

문제를 풀었습니다


Reverse a string
Reverse the given string. Example input = 'reverse' output = 'esrever'

7일 전

문제를 풀었습니다


Find the surface area of a cone.
For instance, Given r (radius) = 3, and s (slant height) = 5: surface area should be 94.

7일 전

문제를 풀었습니다


Insert zeros

7일 전

문제를 풀었습니다


Bottles of beer
Given an input number representing the number of bottles of beer on the wall, output how many are left if you take one down and ...

2년 초과 전

문제를 풀었습니다


Convert a vector into numbers
Suppose a vector x = [ 1 2 4 7] is given. You have to convert this vector into string number y = '1247'. Examples x = [ 1...

2년 초과 전

문제를 풀었습니다


Product of elements in row
Product of matrix such that a=[3 3 1] b=9

2년 초과 전

문제를 풀었습니다


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...

2년 초과 전

문제를 풀었습니다


Find nth maximum
Find nth maximum in a vector of integer numbers. Return NaN if no such number exists. x = [2 6 4 9 -10 3 1 5 -10]; So ...

2년 초과 전

문제를 풀었습니다


Energy Conversion 2

2년 초과 전

문제를 풀었습니다


Energy Conversion 1

2년 초과 전

더 보기