Skip to content

veagy/Python-HackerRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

217 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-HackerRank

image

Subdomains Problem Solution Note
Introduction Say "Hello, World!" With Python Python 3
Python If-Else Python 3
Arithmetic Operators Python 3
Python: Division Python 3
Loops Python 3
Write a function Python 3 define function(a) return
Print Function Python 3 print( , end='') or sep='\n'
Basic Data Types List Comprehensions Python 3 print( for )
Find the Runner-Up Score! Python 3
Nested Lists Python 3 set, print('\n'.join(sort( if )))
Finding the percentage Python 3 ({:.2f} {marks})
Lists Python 3 eval('list.{0}({1})'.format())
Tuples Python 3 hash
Strings sWAP cASE Python 3 .upper() .isupper()
String Split and Join Python 3
What's Your Name? Python 3 print(% .format +)
Mutations Python 3
Find a string Python 3 sum( for if )
String Validators Python 3 any() str.
Text Alignment Python 3
Text Wrap Python 3 textwrap.wrap or fill
Designer Door Mat Python 3 .center()
String Formatting Python 3
Capitalize! Python 3 ' '.join .split(' ')
The Minion Game Python 3 elif in'AEIOU' print( , )
Merge the Tools! Python 3 zip iter sort( , key= )
Sets Introduction to Sets Python 3
No Idea! Python 3 sum(( (_ in A) for _ in B)) means count
Symmetric Difference Python 3 print(*sorted( ,key=int),sep='\n')
Set.add() Python 3
Set.discard(), .remove() & .pop() Python 3 eval
Set.union() Operation Python 3
Set.intersection() Operation Python 3
Set.difference() Operation Python 3
Set.symmetric_difference() Operation Python 3
Set Mutations Python 3 getattra & eval
The Captain's Room Python 3 Algorithm
Check Subset Python 3 not bool & set algorithm
Check Strict Superset Python 3 .issuperset list.append all
Math Polar Coordinates Python 3 cmath, complex, *
Find Angle MBC Python 3 math.atan2/degrees round Angle Bisector Thm
Triangle Quest 2 Python 3
Mod Divmod Python 3 //, %, divmod( , )
Power - Mod Power Python 3 pow(a,b,,) = a^b mod m
Integers Come In All Sizes Python 3 ** , pow
Triangle Quest Python 3 (10** (i)//9) * i
Numpy Arrays Python 3 import numpy as np, np,array(arr[::-1], float)
Shape and Reshape Python 3 arr.shape(), numpy.reshape(arr, (,))
Transpose and Flatten Python 3 transpose(), arr.flatten(), np.array([ for range],)
Concatenate Python 3 np.concatenate((), axis = 0)
Zeros and Ones Python 3 np.zeros(arr or num, dtype = np.int) ones
Eye and Identity Python 3 identity(), eye(,,), np.set_printoptions(sign='')
Array Mathematics Python 3 +,-,*,/,%,**
Floor, Ceil and Rint Python 3 np.floor, np.ceil, np.rint
Sum and Prod Python 3 np.sum(, axis = 0, 1, none) np.prod(, axis)
Min and Max Python 3 np.min(, axis= 0,1,none), np.max(, axis)
Mean, Var, and Std Python 3 np.mean,var,std,set_printoptions(legacy='1.13')
Dot and Cross Python 3 Matrix multiplication, numpy.dot,cross
Inner and Outer Python 3 np.inner Inner product, np.outer Outer product
Polynomials Python 3 poly
Linear Algebra Python 3 numpy.linalg
Date and Time Calendar Module Python 3 calendar class
Time Delta Python 3
Python Functionals Map and Lambda Function Python 3 lambda, map, fibonacci numbers
Reduce Function Python 3 reduce(), gcd, fractions
Itertools itertools.product() Python 3
itertools.permutations() Python 3
Python 3
Python 3
Python 3
Python 3
Python 3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages