6 kyu

Binary string

873 of 906ssineriz

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

Stats:

CreatedOct 21, 2013
PublishedOct 21, 2013
Warriors Trained1514
Total Skips158
Total Code Submissions4792
Total Times Completed906
JavaScript Completions873
Total Stars24
% of votes with a positive feedback rating92% of 169
Total "Very Satisfied" Votes147
Total "Somewhat Satisfied" Votes18
Total "Not Satisfied" Votes4
Total Rank Assessments15
Average Assessed Rank
6 kyu
Highest Assessed Rank
5 kyu
Lowest Assessed Rank
7 kyu
Ad
Contributors
  • ssineriz Avatar
  • suic Avatar
  • hobovsky Avatar
  • Mednoob Avatar
Ad