Community Profile

photo

Akrem Hadji


Telecommunications Regulatory Authority

Last seen: más de 1 año hace Con actividad desde 2020

Head of Innovation and Development Services

Programming Languages:
Python
Spoken Languages:
English

Estadísticas

  • Treasure Hunt Participant
  • MATLAB Central Treasure Hunt Finisher
  • Leader
  • Cody Problems in Japanese Master
  • Draw Letters
  • Scholar
  • Project Euler I
  • Indexing II Master
  • CUP Challenge Master
  • Introduction to MATLAB Master
  • Promoter
  • Community Group Solver

Ver insignias

Content Feed

Ver por

Resuelto


Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...

más de 1 año hace

Resuelto


The Piggy Bank Problem
Given a cylindrical piggy bank with radius g and height y, return the bank's volume. [ g is first input argument.] Bonus though...

más de 2 años hace

Resuelto


Abelian Sandpile - 01
Generate a matrix like abelian sandpile where the center of the matrix is n. For example, n=3 out=[0 0 0 0 ...

alrededor de 3 años hace

Resuelto


No of squares in a grid
given a m*n grid calculate the no of possible squares & rectangles on that grid. output: y=[no of rectangles , no of sqa...

alrededor de 3 años hace

Resuelto


Ugly numbers - 03
For this case, a number is defined ugly if it has prime factors consisting of only elements of x. Find the nth ugly number. ...

alrededor de 3 años hace

Resuelto


ZigZag - 02
Given a matrix, return the elements that are on the Z form of the matrix. For example - a=[1,2,3,4,5; 6,7,8,9,1; 1...

alrededor de 3 años hace

Resuelto


En passant - 01
This is white's turn. The player moves his pawn. The pawn's previous and current positions are given. Determine whether th...

alrededor de 3 años hace

Resuelto


Game of life - 01
Refer to <https://en.wikipedia.org/wiki/Conway's_Game_of_Life> given a set of cells (the initial state) represented by 1(l...

alrededor de 3 años hace

Resuelto


Maya - 02
<https://en.wikipedia.org/wiki/Maya_numerals> Prev. prob. - <https://www.mathworks.com/matlabcentral/cody/problems/45375-maya...

alrededor de 3 años hace

Resuelto


Ugly numbers - 02
Ugly numbers are those whose prime factors are 2, 3 or 5. find the nth ugly number. n.b. unlike the previous problem,trivi...

alrededor de 3 años hace

Resuelto


Knight's Watch
"Night gathers, and now my watch begins" A knight is placed on an n-by-n sized chessboard at the position x. Find the proba...

alrededor de 3 años hace

Resuelto


Checkmate
* The positions of different chess pieces are given in a cell *p* . * The position of the king is given as *x* Determine i...

alrededor de 3 años hace

Resuelto


Minimal Path - 02
Given a matrix, find the minimal path from the top left to the bottom right by only moving to the right and down so that the sum...

alrededor de 3 años hace

Resuelto


Queen's move
given a number of consecutive moves of queen, check for their validity based on their previous position.... but remember if u g...

alrededor de 3 años hace

Resuelto


Check Digit - 02
Given a list of ISBN's, check whether they're valid or not. Prev Prob - <https://www.mathworks.com/matlabcentral/cody/problem...

alrededor de 3 años hace

Resuelto


Hanging cable - 02
previous problem - <https://www.mathworks.com/matlabcentral/cody/problems/45373-hanging-cable-01> The height of the poles...

alrededor de 3 años hace

Resuelto


Gray code
Given a decimal number, convert it to its corresponding Gray code (see https://en.wikipedia.org/wiki/Gray_code). 8 -- 1100...

alrededor de 3 años hace

Resuelto


Abelian Sandpile - 02
Generate a matrix like Abelian Sandpile where the four corner element is n. For example, n=4 [4 3 2 1 ...

alrededor de 3 años hace

Resuelto


find subscripts from linear index
a matrix and the linear index of an element is given as input. find the subscripts of that element. if linear index=3 , outp...

alrededor de 3 años hace

Resuelto


The Tortoise and the Hare - 02
Previous problem <https://www.mathworks.com/matlabcentral/cody/problems/45425-the-tortoise-and-the-hare-01> Suppose in an inf...

alrededor de 3 años hace

Resuelto


Anagram
Given two strings, check whether they're anagrams to each other or not.

alrededor de 3 años hace

Resuelto


Orthogonal Circles
Check whether two given circles are orthogonal or not. Two circles are orthogonal if they create a right angle at their inter...

alrededor de 3 años hace

Resuelto


Find the sequence
Find the nth number of a sequence. Check the test suite to determine the sequence. * hint: it is closely related to familiar ...

alrededor de 3 años hace

Resuelto


Amicable pair
Amicable numbers are two different numbers such that the sum of the proper divisors of each is equal to the other number. For...

alrededor de 3 años hace

Resuelto


Cantor counting
Find the nth cantor's rational number. the sequence is given below in the link. Sequence: 1/1,1/2,2/1,3/1,2/2,1/3,1/4... ... .....

alrededor de 3 años hace

Resuelto


Checkmate-02
This is an extension of the problem <https://www.mathworks.com/matlabcentral/cody/problems/45238-checkmate> If the king is in...

alrededor de 3 años hace

Resuelto


Connect Four - 03
Previous Problem <https://www.mathworks.com/matlabcentral/cody/problems/45354-connect-four-01> <https://www.mathworks.co...

alrededor de 3 años hace

Resuelto


Test the generalized Legendre conjecture

alrededor de 3 años hace

Resuelto


Spiral Out - 02
An array is given. Convert it into a spiral matrix. For example, a=1:27; out=[21 22 23 24 25 26 20 ...

alrededor de 3 años hace

Resuelto


3rd side of a Triangle
Given two sides of a triangle, find the minimum and maximum possible area of the triangle. the length of the third side has t...

alrededor de 3 años hace

Cargar más