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

Stats:

CreatedOct 21, 2013
PublishedOct 21, 2013
Warriors Trained1495
Total Skips158
Total Code Submissions4772
Total Times Completed896
JavaScript Completions863
Total Stars24
% of votes with a positive feedback rating93% of 167
Total "Very Satisfied" Votes147
Total "Somewhat Satisfied" Votes17
Total "Not Satisfied" Votes3
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