Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arsho/hackerrank_python_domain_solutions
Solutions of challenges of Hackerrank Python domain
https://github.com/arsho/hackerrank_python_domain_solutions
hackerrank hackerrank-python hackerrank-solutions python
Last synced: 7 days ago
JSON representation
Solutions of challenges of Hackerrank Python domain
- Host: GitHub
- URL: https://github.com/arsho/hackerrank_python_domain_solutions
- Owner: arsho
- Created: 2016-07-15T06:33:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-06-30T07:58:25.000Z (over 1 year ago)
- Last Synced: 2025-01-24T10:05:07.203Z (14 days ago)
- Topics: hackerrank, hackerrank-python, hackerrank-solutions, python
- Language: Python
- Size: 415 KB
- Stars: 436
- Watchers: 17
- Forks: 237
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Hackerrank Python Domain Solutions
- 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 in [https://www.hackerrank.com/domains/python](https://www.hackerrank.com/domains/python).
- Bonus: I have created [Hackerrank_Solution_Blank_File_Creator.py](HackerrankUtility/Hackerrank_Solution_Blank_File_Creator.py) to generate the blank file for each challenges. Have a look in [HackerrankUtility](HackerrankUtility) folder.
### Hackerrank Python Domain
![alt Hackerrank Python Domain](https://raw.githubusercontent.com/arsho/Hackerrank_Python_Domain_Solutions/master/Hackerrank_Python_Domain.png)
### Solutions listed in Hackerrank_Python_Domain_Solutions
- Introduction
- [Say Hello, World! With Python](Introduction/SayHelloWorldWithPython.py)
- [Python If-Else](Introduction/PythonIfElse.py)
- [Arithmetic Operators](Introduction/ArithmeticOperators.py)
- [Python: Division](Introduction/PythonDivision.py)
- [Loops](Introduction/Loops.py)
- [Write a function](Introduction/Writeafunction.py)
- [Print Function](Introduction/PrintFunction.py)
- Basic Data Types
- [Lists](BasicDataTypes/Lists.py)
- [Tuples](BasicDataTypes/Tuples.py)
- [List Comprehensions](BasicDataTypes/ListComprehensions.py)
- [Find the Runner-Up Score!](BasicDataTypes/FindtheSecondLargestNumber.py)
- [Nested Lists](BasicDataTypes/NestedLists.py)
- [Finding the percentage](BasicDataTypes/Findingthepercentage.py)
- Strings
- [sWAP cASE](Strings/sWAPcASE.py)
- [String Split and Join](Strings/StringSplitandJoin.py)
- [Whats Your Name?](Strings/WhatsYourName.py)
- [Mutations](Strings/Mutations.py)
- [Find a string](Strings/Findastring.py)
- [String Validators](Strings/StringValidators.py)
- [Text Alignment](Strings/TextAlignment.py)
- [Text Wrap](Strings/TextWrap.py)
- [Designer Door Mat](Strings/DesignerDoorMat.py)
- [String Formatting](Strings/StringFormatting.py)
- [Alphabet Rangoli](Strings/AlphabetRangoli.py)
- [Capitalize!](Strings/Capitalize.py)
- [The Minion Game](Strings/TheMinionGame.py)
- Sets
- [Introduction to Sets](Sets/IntroductiontoSets.py)
- [Symmetric Difference](Sets/SymmetricDifference.py)
- [No Idea!](Sets/NoIdea.py)
- [Set .add()](Sets/Setadd.py)
- [Set .discard(), .remove() & .pop()](Sets/Setdiscardremoveamppop.py)
- [Set .union() Operation](Sets/SetunionOperation.py)
- [Set .intersection() Operation](Sets/SetintersectionOperation.py)
- [Set .difference() Operation](Sets/SetdifferenceOperation.py)
- [Set .symmetric_difference() Operation](Sets/Setsymmetric_differenceOperation.py)
- [Set Mutations](Sets/SetMutations.py)
- [The Captains Room](Sets/TheCaptainsRoom.py)
- [Check Subset](Sets/CheckSubset.py)
- [Check Strict Superset](Sets/CheckStrictSuperset.py)
- Math
- [Polar Coordinates](Math/PolarCoordinates.py)
- [Find Angle MBC](Math/FindAngleMBC.py)
- [Triangle Quest 2](Math/TriangleQuest2.py)
- [Mod Divmod](Math/ModDivmod.py)
- [Power - Mod Power](Math/PowerModPower.py)
- [Integers Come In All Sizes](Math/IntegersComeInAllSizes.py)
- [Triangle Quest](Math/TriangleQuest.py)
- Itertools
- [itertools.product()](Itertools/itertoolsproduct.py)
- [itertools.permutations()](Itertools/itertoolspermutations.py)
- [itertools.combinations()](Itertools/itertoolscombinations.py)
- [itertools.combinations_with_replacement()](Itertools/itertoolscombinations_with_replacement.py)
- [Compress the String!](Itertools/CompresstheString.py)
- [Iterables and Iterators](Itertools/IterablesandIterators.py)
- [Maximize It!](Itertools/MaximizeIt.py)
- Collections
- [collections.Counter()](Collections/collectionsCounter.py)
- [DefaultDict Tutorial](Collections/DefaultDictTutorial.py)
- [Collections.namedtuple()](Collections/Collectionsnamedtuple.py)
- [Collections.OrderedDict()](Collections/CollectionsOrderedDict.py)
- [Word Order](Collections/WordOrder.py)
- [Collections.deque()](Collections/Collectionsdeque.py)
- [Piling Up!](Collections/PilingUp.py)
- [Most Common](Collections/MostCommon.py)
- Date and Time
- [Calendar Module](DateandTime/CalendarModule.py)
- [Time Delta](DateandTime/TimeDelta.py)
- Errors and Exceptions
- [Exceptions](ErrorsandExceptions/Exceptions.py)
- [Incorrect Regex](ErrorsandExceptions/IncorrectRegex.py)
- Classes
- [Classes: Dealing with Complex Numbers](Classes/ClassesDealingwithComplexNumbers.py)
- [Class 2 - Find the Torsional Angle](Classes/Class2FindtheTorsionalAngle.py)
- Built-Ins
- [Zipped!](BuiltIns/Zipped.py)
- [Input()](BuiltIns/Input.py)
- [Python Evaluation](BuiltIns/PythonEvaluation.py)
- [Athlete Sort](BuiltIns/AthleteSort.py)
- [Any or All](BuiltIns/AnyorAll.py)
- [ginortS](BuiltIns/ginortS.py)
- Python Functionals
- [Map and Lambda Function](PythonFunctionals/MapandLambdaFunction.py)
- [Validating Email Addresses With a Filter](PythonFunctionals/ValidatingEmailAddressesWithaFilter.py)
- Regex and Parsing
- [Detect Floating Point Numbers](RegexandParsing/DetectFloatingPointNumbers.py)
- [Re.split()](RegexandParsing/Resplit.py)
- [Group(), Groups() & Groupdict()](RegexandParsing/GroupGroupsampGroupdict.py)
- [Re.findall() & Re.finditer()](RegexandParsing/RefindallampRefinditer.py)
- [Re.start() & Re.end()](RegexandParsing/RestartampReend.py)
- [Regex Substitution](RegexandParsing/RegexSubstitution.py)
- [Validating Roman Numerals](RegexandParsing/ValidatingRomanNumerals.py)
- [Validating phone numbers](RegexandParsing/Validatingphonenumbers.py)
- [Validating and Parsing Email Addresses](RegexandParsing/ValidatingandParsingEmailAddresses.py)
- [Hex Color Code](RegexandParsing/HexColorCode.py)
- [HTML Parser - Part 1](RegexandParsing/HTMLParserPart1.py)
- [HTML Parser - Part 2](RegexandParsing/HTMLParserPart2.py)
- [Detect HTML Tags, Attributes and Attribute Values](RegexandParsing/DetectHTMLTagsAttributesandAttributeValues.py)
- [Validating UID](RegexandParsing/ValidatingUID.py)
- [Validating Credit Card Numbers](RegexandParsing/ValidatingCreditCardNumbers.py)
- [Validating Postal Codes](RegexandParsing/ValidatingPostalCodes.py)
- [Matrix Script](RegexandParsing/MatrixScript.py)
- XML
- [XML 1 - Find the Score](XML/XML1FindtheScore.py)
- [XML2 - Find the Maximum Depth](XML/XML2FindtheMaximumDepth.py)
- Closures and Decorators
- [Standardize Mobile Number Using Decorators](ClosuresandDecorators/StandardizeMobileNumberUsingDecorators.py)
- [Decorators 2 - Name Directory](ClosuresandDecorators/Decorators2NameDirectory.py)
- Numpy
- [Arrays](Numpy/Arrays.py)
- [Shape and Reshape](Numpy/ShapeandReshape.py)
- [Transpose and Flatten](Numpy/TransposeandFlatten.py)
- [Concatenate](Numpy/Concatenate.py)
- [Zeros and Ones](Numpy/ZerosandOnes.py)
- [Eye and Identity](Numpy/EyeandIdentity.py)
- [Array Mathematics](Numpy/ArrayMathematics.py)
- [Floor, Ceil and Rint](Numpy/FloorCeilandRint.py)
- [Sum and Prod](Numpy/SumandProd.py)
- [Min and Max](Numpy/MinandMax.py)
- [Mean, Var, and Std](Numpy/MeanVarandStd.py)
- [Dot and Cross](Numpy/DotandCross.py)
- [Inner and Outer](Numpy/InnerandOuter.py)
- [Polynomials](Numpy/Polynomials.py)
- [Linear Algebra](Numpy/LinearAlgebra.py)
- Debugging
- [Words Score](Debugging/WordsScore.py)
- [Default Arguments](Debugging/DefaultArguments.py)
### How to use HackerrankUtility
- Open [Hackerrank_Solution_Blank_File_Creator.py](HackerrankUtility/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 video: Hackerrank Solution Blank File Creator DEMO](https://youtu.be/G3hq5upfPEI)
[![https://youtu.be/G3hq5upfPEI](http://img.youtube.com/vi/G3hq5upfPEI/0.jpg)](https://youtu.be/G3hq5upfPEI)
### Contributors
[![https://github.com/arsho/Hackerrank_Python_Domain_Solutions/graphs/contributors](https://contrib.rocks/image?repo=arsho/Hackerrank_Python_Domain_Solutions)](https://github.com/arsho/Hackerrank_Python_Domain_Solutions/graphs/contributors)
### Contact
If you want to contact me you can reach me at [arshovon.com](https://arshovon.com/).