Skip to content

Instantly share code, notes, and snippets.

@mrjeremyt
Created June 30, 2015 21:49
Show Gist options
  • Save mrjeremyt/e5c4c4856a7844df8832 to your computer and use it in GitHub Desktop.
Save mrjeremyt/e5c4c4856a7844df8832 to your computer and use it in GitHub Desktop.
public static String getBinaryRepresentation(int n) {
/*
Please implement this method to
return a String with the binary representation of any number n, where n >= 0.
Example: "101" is a binary representation of 5
*/
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment