My solutions of Hackerrank Python Domain challenges. The codes may give a head start, if you are stuck in somewhere!
If you have better code (I like readable code rather than short liner), send pull request.
Challenges can be found here https://www.hackerrank.com/domains/python
Bonus: I have created Hackerrank_Solution_Blank_File_Creator.py to generate the blank file of each challenges. Have a look in HackerrankUtility folder.
Hackerrank Python Domain
Solutions listed in Hackerrank_Python_Domain_Solutions
- Introduction
- Say Hello, World! With Python
- Reading Raw Input
- Whats Your Name?
- Python If-Else
- Arithmetic Operators
- Python: Division
- Loops
- Write a function
- Print Function
- Data Types
- Lists
- Tuples
- Sets - Symmetric Difference
- List Comprehensions
- Find the Second Largest Number
- Nested Lists
- Finding the percentage
- Strings
- sWAP cASE
- String Split and Join
- Mutations
- Find a string
- String Validators
- Text Alignment
- Text Wrap
- Designer Door Mat
- String Formatting
- Alphabet Rangoli
- Capitalize!
- The Minion Game
- Sets
- Introduction to Sets
- Symmetric Difference
- No Idea!
- Set .add()
- Set .discard(), .remove() & .pop()
- Set .union() Operation
- Set .intersection() Operation
- Set .difference() Operation
- Set .symmetric_difference() Operation
- Set Mutations
- The Captains Room
- Check Subset
- Check Strict Superset
- Math
- Polar Coordinates
- Find Angle MBC
- Triangle Quest 2
- Mod Divmod
- Power - Mod Power
- Integers Come In All Sizes
- Triangle Quest
- Itertools
- itertools.product()
- itertools.permutations()
- itertools.combinations()
- itertools.combinations_with_replacement()
- Compress the String!
- Iterables and Iterators
- Maximize It!
- Collections
- collections.Counter()
- DefaultDict Tutorial
- Collections.namedtuple()
- Collections.OrderedDict()
- Word Order
- Collections.deque()
- Piling Up!
- Most Common
- Date and Time
- Calendar Module
- Time Delta
- Errors and Exceptions
- Exceptions
- Incorrect Regex
- Classes
- Classes: Dealing with Complex Numbers
- Class 2 - Find the Torsional Angle
- Built-Ins
- Zipped!
- Input()
- Python Evaluation
- Sort Data
- Any or All
- ginortS
- Python Functionals
- Map and Lambda Function
- Validating Email Addresses With a Filter
- Reduce Function
- Regex and Parsing
- Introduction to Regex Module
- Re.split()
- Group(), Groups() & Groupdict()
- Re.findall() & Re.finditer()
- Re.start() & Re.end()
- Regex Substitution
- Validating Roman Numerals
- Validating phone numbers
- Validating and Parsing Email Addresses
- Hex Color Code
- HTML Parser - Part 1
- HTML Parser - Part 2
- Detect HTML Tags, Attributes and Attribute Values
- Validating UID
- Validating Credit Card Numbers
- Validating Postal Codes
- Matrix Script
- XML
- XML 1 - Find the Score
- XML2 - Find the Maximum Depth
- Closures and Decorators
- Standardize Mobile Number Using Decorators
- Decorators 2 - Name Directory
- Numpy
- Arrays
- Shape and Reshape
- Transpose and Flatten
- Concatenate
- Zeros and Ones
- Eye and Identity
- Array Mathematics
- Floor, Ceil and Rint
- Sum and Prod
- Min and Max
- Mean, Var, and Std
- Dot and Cross
- Inner and Outer
- Polynomials
- Linear Algebra
- Open Hackerrank_Solution_Blank_File_Creator.py and edit the author name.
- Save and run the file.
- Blank file to create your solution for each challenge will be created in relevent subdomain.
Watch demonstration process in Youtube link here (Hackerrank Solution Blank File Creator DEMO)
If you have any suggestion, please send a message to https://www.facebook.com/ars.shovon