6 kyu
Binary string
863 of 896ssineriz
Description:
Given a positive (or 0) number, return a string of 1's and 0's representing it's binary value: toBinaryString(6)
should return "110" (no leading 0).
Use of the native method number.toString(2);
is disallowed.
Bits
Binary
Algorithms
Similar Kata:
Stats:
Created | Oct 21, 2013 |
Published | Oct 21, 2013 |
Warriors Trained | 1495 |
Total Skips | 158 |
Total Code Submissions | 4772 |
Total Times Completed | 896 |
JavaScript Completions | 863 |
Total Stars | 24 |
% of votes with a positive feedback rating | 93% of 167 |
Total "Very Satisfied" Votes | 147 |
Total "Somewhat Satisfied" Votes | 17 |
Total "Not Satisfied" Votes | 3 |
Total Rank Assessments | 15 |
Average Assessed Rank | 6 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 7 kyu |