+ 1
Binary maximum number
Given a string containing only 0's and 1's and assuming that we can perform left cyclic shift how can we find the permutation that represents the maximum binary number? The most effective way of doing it.
3 Antworten
+ 3
I'll duckduckgo that for you :
https://is.gd/HkX0cb
+ 1
We can only perform left cyclic shits.
+ 1
An the problem is to find the maximum binary number obtained with all possible strings obtained after multiple cyclic shifts.