Created
April 27, 2015 16:16
-
-
Save anantham/f25193a57e35cfef4c03 to your computer and use it in GitHub Desktop.
HackerRank - cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Method - 1 BRUTE FORCE | |
n = int(raw_input()) # number of test cases | |
N = [] # list of N's | |
for i in range(n): | |
N.append(int(raw_input())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Used in almost all problems