Hackerrank_Python_Domain_Solutions icon indicating copy to clipboard operation
Hackerrank_Python_Domain_Solutions copied to clipboard

Solutions of challenges of Hackerrank Python domain

My solutions of Hackerrank Python Domain challenges. The codes may give a head start if you are stuck 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

alt Hackerrank Python Domain


Solutions listed in Hackerrank_Python_Domain_Solutions
  • Introduction
    • Say Hello, World! With Python
    • Python If-Else
    • Arithmetic Operators
    • Python: Division
    • Loops
    • Write a function
    • Print Function
  • Basic Data Types
    • Lists
    • Tuples
    • List Comprehensions
    • Find the Runner-Up Score!
    • Nested Lists
    • Finding the percentage
  • Strings
    • sWAP cASE
    • String Split and Join
    • Whats Your Name?
    • 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
    • Athlete Sort
    • Any or All
    • ginortS
  • Python Functionals
    • Map and Lambda Function
    • Validating Email Addresses With a Filter
  • Regex and Parsing
    • Detect Floating Point Numbers
    • 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
  • Debugging
    • Words Score
    • Default Arguments

How to use HackerrankUtility:

  1. Open Hackerrank_Solution_Blank_File_Creator.py and edit the author name.
  2. Save and run the file.
  3. 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)

https://youtu.be/G3hq5upfPEI

Enjoy!

Contact

If you want to contact me you can reach me at arshovon.com.