Find the next binary palindrome number
We all know, a *palindrome* is nothing but a number or character which remains the same after the forward or backward alteration...
más de 5 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 ...
más de 5 años hace
Resuelto
Anagram
Given two strings, check whether they're anagrams to each other or not.
más de 5 años hace
Resuelto
Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6
'************'
'***** *****'
'**** ****'
...
más de 5 años hace
Resuelto
Area-04
The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...