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