Draft

Convert natural number to its binary representation

74 of 462Arasz

Description:

Write function that converts an integer number to its binary representation and returns it as a string.

You can see examples of how function should work in test cases.

You can find some useful informations under this link: https://en.wikipedia.org/wiki/Binary_number.

Input numbers will be greater than or equal to 0.

Strings
Binary
Algorithms

Stats:

CreatedSep 18, 2015
Warriors Trained715
Total Skips32
Total Code Submissions888
Total Times Completed462
C# Completions74
Java Completions108
Python Completions167
JavaScript Completions144
Total Stars7
% of votes with a positive feedback rating85% of 254
Total "Very Satisfied" Votes198
Total "Somewhat Satisfied" Votes36
Total "Not Satisfied" Votes20
Total Rank Assessments271
Average Assessed Rank
7 kyu
Highest Assessed Rank
4 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • Arasz Avatar
  • gttotev Avatar
  • Nekon Avatar
  • xoh Avatar
  • siebenschlaefer Avatar
  • FArekkusu Avatar
Ad