Skip to content

Momen-17/HackerRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

HackerRank

Solution to HackerRank problems

Python

Category Difficulty Problem Solution
Introduction Easy Say "Hello, World!" With Python 01. Say Hello, World! With Python.py
Introduction Easy Python If-Else 02. Python If-Else.py
Introduction Easy Arithmetic Operators 03. Arithmetic Operators.py
Introduction Easy Python: Division 04. Python Division.py
Introduction Easy Loops 05. Loops.py
Introduction Medium Write a function 06. Write a function.py
Introduction Easy Print Function 07. Print Function.py
Basic Data Types Easy List Comprehensions 01. List Comprehensions.py
Basic Data Types Easy Find the Runner-Up Score! 02. Find the Runner-Up Score!.py
Basic Data Types Easy Nested Lists 03. Nested Lists.py
Basic Data Types Easy Finding the percentage 04. Finding the percentage.py
Basic Data Types Easy Lists 05. Lists.py
Basic Data Types Easy Tuples 06. Tuples.py
Strings Easy sWAP cASE 01. sWAP cASE.py
Strings Easy String Split and Join 02. String Split and Join.py
Strings Easy What's Your Name? 03. What's Your Name.py
Strings Easy Mutations 04. Mutations.py
Strings Easy Find a string 05. Find a string.py
Strings Easy String Validators 06. String Validators.py
Strings Easy Text Alignment 07. Text Alignment.py
Strings Easy Text Wrap 08. Text Wrap.py
Strings Easy Designer Door Mat 09. Designer Door Mat.py
Strings Easy String Formatting 10. String Formatting.py
Strings Easy Alphabet Rangoli 11. Alphabet Rangoli.py
Strings Easy Capitalize! 12. Capitalize!.py
Strings Medium The Minion Game 13. The Minion Game.py
Strings Medium Merge the Tools! 14. Merge the Tools!.py
Sets Easy Introduction to Sets 01. Introduction to Sets.py
Sets Meidum No Idea! 02. No Idea!.py
Sets Easy Symmetric Difference 03. Symmetric Difference.py
Sets Easy Set .add() 04. Set .add().py
Sets Easy Set .discard(), .remove() & .pop() 05. Set .discard(), .remove() & .pop().py
Sets Easy Set .union() Operation 06. Set .union() Operation.py
Sets Easy Set .intersection() Operation 07. Set .intersection() Operation.py
Sets Easy Set .difference() Operation 08. Set .difference() Operation.py
Sets Easy Set .symmetric_difference() Operation 09. Set .symmetric_difference() Operation.py
Sets Easy Set Mutations 10. Set Mutations.py
Sets Easy The Captain's Room 11. The Captain's Room.py
Sets Easy Check Subset 12. Check Subset.py
Sets Easy Check Strict Superset 13. Check Strict Superset.py
Math Easy Polar Coordinates 01. Polar Coordinates.py
Math Medium Find Angle MBC 02. Find Angle MBC.py
Math Medium Triangle Quest 2 03. Triangle Quest 2.py
Math Easy Mod Divmod 04. Mod Divmod.py
Math Easy Power - Mod Power 05. Power - Mod Power.py
Math Easy Integers Come In All Sizes 06. Integers Come In All Sizes.py
Math Medium Triangle Quest 07. Triangle Quest.py
Itertools Easy itertools.product() 01. itertools.product().py
Itertools Easy itertools.permutations() 02. itertools.permutations().py
Itertools Easy itertools.combinations() 03. itertools.combinations().py
Itertools Easy itertools.combinations_with_replacement() 04. itertools.combinations_with_replacement().py
Itertools Medium Compress the String! 05. Compress the String!.py
Itertools Medium Iterables and Iterators 06. Iterables and Iterators.py
Itertools Hard Maximize It! 07. Maximize It!.py
Collections Easy collections.Counter() 01. collections.Counter().py
Collections Easy DefaultDict Tutorial 02. DefaultDict Tutorial.py
Collections Easy Collections.namedtuple() 03. Collections.namedtuple().py
Collections Easy Collections.OrderedDict() 04. Collections.OrderedDict().py
Collections Medium Word Order 05. Word Order.py
Collections Easy Collections.deque() 06. Collections.deque().py
Collections Medium Company Logo 07. Company Logo.py
Collections Medium Piling Up! 08. Piling Up!.py
Date and Time Easy Calendar Module 01. Calendar Module.py
Date and Time Medium Time Delta 02. Time Delta.py
Errors and Exceptions Easy Exceptions 01. Exceptions.py
Errors and Exceptions Easy Incorrect Regex 02. Incorrect Regex.py
Classes Medium Dealing with Complex Numbers 01. Dealing with Complex Numbers.py
Classes Easy Find the Torsional Angle 02. Find the Torsional Angle.py
Built-Ins Easy Zipped! 01. Zipped!.py
Built-Ins Easy Input() 02. Input().py
Built-Ins Easy Python Evaluation 03. Python Evaluation.py
Built-Ins Medium Athlete Sort 04. Athlete Sort.py
Built-Ins Easy Any or All 05. Any or All.py
Built-Ins Medium ginortS 06. ginortS.py
Python Functionals Easy Map and Lambda Function 01. Map and Lambda Function.py
Python Functionals Medium Validating Email Addresses With a Filter 02. Validating Email Addresses With a Filter.py
Python Functionals Medium Reduce Function 03. Reduce Function.py
Regex and Parsing Easy Detect Floating Point Number 01. Detect Floating Point Number.py
Regex and Parsing Easy Re.split() 02. Re.split().py
Regex and Parsing Easy Group(), Groups() & Groupdict() 03. Group(), Groups() & Groupdict().py
Regex and Parsing Easy Re.findall() & Re.finditer() 04. Re.findall() & Re.finditer().py
Regex and Parsing Easy Re.start() & Re.end() 05. Re.start() & Re.end().py
Regex and Parsing Medium Regex Substitution 06. Regex Substitution.py
Regex and Parsing Easy Validating Roman Numerals 07. Validating Roman Numerals.py
Regex and Parsing Easy Validating phone numbers 08. Validating phone numbers.py
Regex and Parsing Easy Validating and Parsing Email Addresses 09. Validating and Parsing Email Addresses.py
Regex and Parsing Easy Hex Color Code 10. Hex Color Code.py
Regex and Parsing Easy HTML Parser - Part 1 11. HTML Parser - Part 1.py
Regex and Parsing Easy HTML Parser - Part 2 12. HTML Parser - Part 2.py
Regex and Parsing Easy Detect HTML Tags, Attributes and Attribute Values 13. Detect HTML Tags, Attributes and Attribute Values.py
Regex and Parsing Easy Validating UID 14. Validating UID.py
Regex and Parsing Medium Validating Credit Card Numbers 15. Validating Credit Card Numbers.py
Regex and Parsing Hard Validating Postal Codes 16. Validating Postal Codes.py
Regex and Parsing Hard Matrix Script 17. Matrix Script.py
XML Easy Find the Score 01. Find the Score.py
XML Easy Find the Maximum Depth 02. Find the Maximum Depth.py
Closures and Decorators Easy Standardize Mobile Number Using Decorators 01. Standardize Mobile Number Using Decorators.py
Closures and Decorators Easy Name Directory 02. Name Directory.py
Numpy Easy Arrays 01. Arrays.py
Numpy Easy Shape and Reshape 02. Shape and Reshape.py
Numpy Easy Transpose and Flatten 03. Transpose and Flatten.py
Numpy Easy Concatenate 04. Concatenate.py
Numpy Easy Zeros and Ones 05. Zeros and Ones.py
Numpy Easy Eye and Identity 06. Eye and Identity.py
Numpy Easy Array Mathematics 07. Array Mathematics.py
Numpy Easy Floor, Ceil and Rint 08. Floor, Ceil and Rint.py
Numpy Easy Sum and Prod 09. Sum and Prod.py
Numpy Easy Min and Max 10. Min and Max.py
Numpy Easy Mean, Var, and Std 11. Mean, Var, and Std.py
Numpy Easy Dot and Cross 12. Dot and Cross.py
Numpy Easy Inner and Outer 13. Inner and Outer.py
Numpy Easy Polynomials 14. Polynomials.py
Numpy Easy Linear Algebra 15. Linear Algebra.py
Debugging Medium Words Score 01. Words Score.py
Debugging Medium Default Arguments 02. Default Arguments.py

About

Solution to HackerRank problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages