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...
5 years ago
Solved
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 ...
5 years ago
Solved
Anagram
Given two strings, check whether they're anagrams to each other or not.
5 years ago
Solved
Sky full of stars - 03
draw the following pattern with asterisks. For example, for n=6
'************'
'***** *****'
'**** ****'
...
5 years ago
Solved
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 ...