Hackerrank
Hackerrank copied to clipboard
This repo contain all the problems of hackerrank
Hackerrank
PYTHON :
Python
1.Introduction
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Introduction | Easy | Say "Hello, World!" With Python | Say Hello, World! With Python.py |
| Introduction | Easy | Python If-Else | Python If-Else.py |
| Introduction | Easy | Arithmetic Operators | Arithmetic Operators.py |
| Introduction | Easy | Python: Division | Python_ Division.py |
| Introduction | Easy | Loops | Loops.py |
| Introduction | Medium | Write a function | Write a function.py |
| Introduction | Easy | Print Function | Print Function.py |
2.Basic Data Types
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Basic Data Types | Easy | List Comprehensions | List Comprehensions.py |
| Basic Data Types | Easy | Find the Runner-Up Score! | .Find the Runner-Up Score!.py |
| Basic Data Types | Easy | Nested Lists | Nested Lists.py |
| Basic Data Types | Easy | Finding the percentage | Finding the percentage.py |
| Basic Data Types | Easy | Lists | Lists.py |
| Basic Data Types | Easy | Tuples | Tuples.py |
3.String
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Strings | Easy | sWAP cASE | SWAp cASE.py |
| Strings | Easy | String Split and Join | String Split and join.py |
| Strings | Easy | What's Your Name? | What's Your Name_.py |
| Strings | Easy | Mutations | Mutations.py |
| Strings | Easy | Find a string | Find a string.py |
| Strings | Easy | String Validators | String Validators.py |
| Strings | Easy | Text Alignment | Text Alignment.py |
| Strings | Easy | Text Wrap | Text Wrap.py |
| Strings | Easy | Designer Door Mat | Designer Door Mat.py |
| Strings | Easy | String Formatting | String Formatting.py |
| Strings | Easy | Alphabet Rangoli | Alphabet Rangoli.py |
| Strings | Easy | Capitalize! | Capitalize!.py |
| Strings | Medium | The Minion Game | The Minion Game.py |
| Strings | Medium | Merge the Tools! | Merge the Tools!.py |
4.Sets
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Sets | Easy | Introduction to Sets | Introduction to Sets.py |
| Sets | Medium | No Idea! | No Idea!.py |
| Sets | Easy | Symmetric Difference | Symmetric Difference.py |
| Sets | Easy | Set .add() | Set .add().py |
| Sets | Easy | Set .discard(), .remove() & .pop() | Set .discard(), .remove() & .pop().py |
| Sets | Easy | Set .union() Operation | Set .union() Operation.py |
| Sets | Easy | Set .intersection() Operation | Set .intersection() Operation.py |
| Sets | Easy | Set .difference() Operation | Set .difference() Operation.py |
| Sets | Easy | Set .symmetric_difference() Operation | Set .symmetric_difference() Operation.py |
| Sets | Easy | Set Mutations | Set Mutations.py |
| Sets | Easy | The Captain's Room | The Captain's Room.py |
| Sets | Easy | Check Subset | The Captain's Room.py |
| Sets | Easy | Check Strict Superset | Check Strict Superset.py |
5.Math
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Math | Easy | Polar Coordinates | polar-coordinates.py |
| Math | Medium | Find Angle MBC | find-angle.py |
| Math | Easy | Mod Divmod | python-mod-divmod.py |
| Math | Easy | Power - Mod Power | python-power-mod-power.py |
| Math | Easy | Integers Come In All Sizes | python-integers-come-in-all-sizes.py |
| Math | Medium | Triangle Quest | python-quest-1.py |
| Math | Medium | Triangle Quest 2 | triangle-quest-2.py |
6.itertools
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Itertools | Easy | itertools.product() | itertools-product.py |
| Itertools | Easy | itertools.permutations() | itertools-permutations.py |
| Itertools | Easy | itertools.combinations() | itertools-combinations.py |
| Itertools | Easy | itertools.combinations_with_replacement() | itertools-combinations-with-replacement.py |
| Itertools | Medium | Compress the String! | compress-the-string.py |
| Itertools | Medium | Iterables and Iterators | iterables-and-iterators.py |
| Itertools | Hard | Maximize It! | maximize-it.py |
7.collections
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Collections | Easy | collections.Counter() | collections-counter.py |
| Collections | Easy | DefaultDict Tutorial | defaultdict-tutorial.py |
| Collections | Easy | Collections.namedtuple() | py-collections-namedtuple.py |
| Collections | Easy | Collections.OrderedDict() | py-collections-ordereddict.py |
| Collections | Medium | Word Order | word-order.py |
| Collections | Easy | Collections.deque() | py-collections-deque.py |
| Collections | Medium | Company Logo | most-commons.py |
| Collections | Medium | Piling Up! | piling-up.py |
8.Date and time
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Date and Time | Easy | Calendar Module | calendar-module.py |
| Date and Time | Medium | Time Delta | python-time-delta.py |
9.erros and exceptions
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Errors and Exceptions | Easy | Exceptions | exceptions.py |
| Errors and Exceptions | Easy | Incorrect Regex | incorrect-regex.py |
10.Bulid-ins
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Built-Ins | Easy | Zipped! | zipped.py |
| Built-Ins | Easy | Input() | input.py |
| Built-Ins | Easy | Python Evaluation | python-eval.py |
| Built-Ins | Medium | Athlete Sort | python-sort-sort.py |
| Built-Ins | Easy | Any or All | any-or-all.py |
| Built-Ins | Medium | ginortS | ginorts.py |
11.Classes
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Classes | Medium | Classes: Dealing with Complex Numbers | class-1-dealing-with-complex-numbers.py |
| Classes | Easy | Class 2 - Find the Torsional Angle | class-2-find-the-torsional-angle.py |
12.Python functional
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Python Functionals | Easy | Map and Lambda Function | map-and-lambda-expression.py |
| Python Functionals | Medium | Validating Email Addresses With a Filter | validate-list-of-email-address-with-filter.py |
| Python Functionals | Medium | Reduce Function | reduce-function.py |
13.Regex and Parsing
14.Closures and Decorators
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Closures and Decorators | Easy | Standardize Mobile Number Using Decorators | standardize-mobile-number-using-decorators.py |
| Closures and Decorators | Easy | Decorators 2 - Name Directory | Decorators 2 - Name Directory.py |
15.numpy
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Numpy | Easy | Arrays | np-arrays.py |
| Numpy | Easy | Shape and Reshape | np-shape-reshape.py |
| Numpy | Easy | Transpose and Flatten | np-transpose-and-flatten.py |
| Numpy | Easy | Concatenate | np-concatenate.py |
| Numpy | Easy | Zeros and Ones | np-zeros-and-ones.py |
| Numpy | Easy | Eye and Identity | np-eye-and-identity.py |
| Numpy | Easy | Array Mathematics | np-array-mathematics.py |
| Numpy | Easy | Floor, Ceil and Rint | floor-ceil-and-rint.py |
| Numpy | Easy | Sum and Prod | np-sum-and-prod.py |
| Numpy | Easy | Min and Max | np-min-and-max.py |
| Numpy | Easy | Mean, Var, and Std | np-mean-var-and-std.py |
| Numpy | Easy | Dot and Cross | np-dot-and-cross.py |
| Numpy | Easy | Inner and Outer | np-inner-and-outer.py |
| Numpy | Easy | Polynomials | np-polynomials.py |
| Numpy | Easy | Linear Algebra | np-linear-algebra.py |
16.XML
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| XML | Easy | XML 1 - Find the Score | xml-1-find-the-score.py |
| XML | Easy | XML2 - Find the Maximum Depth | xml2-find-the-maximum-depth.py |
17.Debugging
| Subdomain | Difficulty | Problem link | Solution |
|---|---|---|---|
| Debugging | Medium | Words Score | words-score.py |
| Debugging | Medium | Default Arguments | default-arguments.py |
Let's connect! Find me on the web.
If you have any Queries or Suggestions, feel free to reach out to me.