Cody

Problem 1861. Binary

Created by Ricardo Sousa in Community

Given a positive, integer n, create a function that returns the respective binary number in the form of a vector.

Example:

   input: 3
  output: [1 1]

Solution Stats

56.68% Correct | 43.32% Incorrect
Last solution submitted on May 16, 2019