-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
101 lines (99 loc) Β· 13.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<p align="center">
<a href="https://www.hackerrank.com/mo_shakib"><img src="https://i.imgur.com/B8eh8bv.png" ></a>
</p>
<p align="center">
<b> Solutions to problems on HackerRank. </b>
</p>
<p align="center">
If you are interested in helping or have a solution in a different language feel free to make a pull request.
</p>
<p align="left">
<img src="https://img.shields.io/badge/Language-Python-orange.svg">
<img src="https://wakatime.com/badge/user/8e02bfd3-85d8-4d9d-88df-fa983f91ff30/project/b82b047d-1e9b-4267-a6db-5430b5c24ed5.svg">
</p>
<hr>
<h1>π <a href="1.%20Algorithms">Algorithms</a></h1>
<ul>
<li>
<h3>π <a href="1.%20Algorithms//1.%20Warmup">Warmup</a></h3>
<ul>
<li>[x] π <a href="https://www.hackerrank.com/challenges/birthday-cake-candles/problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Birthday cake candles</a> - <a href="1.%20Algorithms/1.%20Warmup/Birthday%20Cake%20Candles.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/staircase/problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Staircase</a> - <a href="1.%20Algorithms/1.%20Warmup/Staircase.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/compare-the-triplets/problem?isFullScreen=true&h_r=next-challenge&h_v=zen">Compare the triplets</a> - <a href="1.%20Algorithms/1.%20Warmup/Compare%20the%20Triplets.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/plus-minus/problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Plus minus</a> - <a href="1.%20Algorithms/1.%20Warmup/Plus%20Minus.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/time-conversion/problem?isFullScreen=true&h_r=next-challenge&h_v=zen">Time conversion</a> - <a href="1.%20Algorithms/1.%20Warmup/Time%20Conversion.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/diagonal-difference/problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Diagonal difference</a> - <a href="1.%20Algorithms/1.%20Warmup/Diagonal%20Difference.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/mini-max-sum/problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Mini-max sum</a> - <a href="1.%20Algorithms/1.%20Warmup/Mini-Max%20Sum.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/simple-array-sum/problem?isFullScreen=true">Simple array sum</a> - <a href="1.%20Algorithms/1.%20Warmup/Simple%20Array%20Sum.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/a-very-big-sum/problem?isFullScreen=true&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">A very big sum</a> - <a href="1.%20Algorithms/1.%20Warmup/A%20Very%20Big%20Sum.py"><strong><em>Solution</em></strong></a></li>
</ul>
</li>
<li>
<h3>π <a href="1.%20Algorithms//2.%20Implementation">Implementation</a></h3>
<ul>
<li>[x] π <a href="https://www.hackerrank.com/challenges/counting-valleys/problem?h_r=next-challenge&h_v=zen">Counting valleys</a> - <a href="1.%20Algorithms/2.%20Implementation/Counting%20Valleys.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/the-birthday-bar/problem?h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Subarray division</a> - <a href="1.%20Algorithms/2.%20Implementation/Subarray%20Division.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/the-hurdle-race/problem?isFullScreen=false">The hurdle race</a> - <a href="1.%20Algorithms/2.%20Implementation/The%20Hurdle%20Race.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/kangaroo/problem">Number line jumps</a> - <a href="1.%20Algorithms/2.%20Implementation/Number%20Line%20Jumps.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/designer-pdf-viewer/problem?isFullScreen=false">Designer pdf viewer</a> - <a href="1.%20Algorithms/2.%20Implementation/Designer%20PDF%20Viewer.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/electronics-shop/problem?h_r=next-challenge&h_v=zen">Electronics shop</a> - <a href="1.%20Algorithms/2.%20Implementation/Electronics%20Shop.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/picking-numbers/problem?isFullScreen=false">Picking numbers</a> - <a href="1.%20Algorithms/2.%20Implementation/Picking%20Numbers.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/drawing-book/problem?isFullScreen=false">Drawing book</a> - <a href="1.%20Algorithms/2.%20Implementation/Drawing%20Book.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/find-digits/problem?isFullScreen=false">Find digits</a> - <a href="1.%20Algorithms/2.%20Implementation/Find%20Digits.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/breaking-best-and-worst-records/problem?h_r=next-challenge&h_v=zen">Breaking the records</a> - <a href="1.%20Algorithms/2.%20Implementation/Breaking%20the%20Records.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/beautiful-days-at-the-movies/problem?isFullScreen=false&h_r=next-challenge&h_v=zen">Beautiful days at the movies</a> - <a href="1.%20Algorithms/2.%20Implementation/Beautiful%20Days%20at%20the%20Movies.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/utopian-tree/problem?isFullScreen=false&h_r=next-challenge&h_v=zen">Utopian tree</a> - <a href="1.%20Algorithms/2.%20Implementation/Utopian%20Tree.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/repeated-string/problem?isFullScreen=false">Repeated string</a> - <a href="1.%20Algorithms/2.%20Implementation/Repeated%20String.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/between-two-sets/problem?isFullScreen=false">Between two sets</a> - <a href="1.%20Algorithms/2.%20Implementation/Between%20Two%20Sets.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/sock-merchant/problem?isFullScreen=true">Sales by match</a> - <a href="1.%20Algorithms/2.%20Implementation/Sales%20by%20Match.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/cats-and-a-mouse/problem?isFullScreen=true">Cats and a mouse</a> - <a href="1.%20Algorithms/2.%20Implementation/Cats%20and%20a%20Mouse.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/migratory-birds/problem?h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Migratory birds</a> - <a href="1.%20Algorithms/2.%20Implementation/Migratory%20Birds.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="hackerrank.com/challenges/bon-appetit/problem?isFullScreen=false">Bill division</a> - <a href="1.%20Algorithms/2.%20Implementation/Bill%20Division.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/grading/problem?isFullScreen=false">Grading students</a> - <a href="1.%20Algorithms/2.%20Implementation/Grading%20Students.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/angry-professor/problem?isFullScreen=false">Angry professor</a> - <a href="1.%20Algorithms/2.%20Implementation/Angry%20Professor.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/apple-and-orange/problem?isFullScreen=false">Apple and orange</a> - <a href="1.%20Algorithms/2.%20Implementation/Apple%20and%20Orange.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/divisible-sum-pairs/problem?h_r=next-challenge&h_v=zen">Divisible sum pairs</a> - <a href="1.%20Algorithms/2.%20Implementation/Divisible%20Sum%20Pairs.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/day-of-the-programmer/problem?h_r=next-challenge&h_v=legacy">Day of the programmer</a> - <a href="1.%20Algorithms/2.%20Implementation/Day%20of%20the%20Programmer.py"><strong><em>Solution</em></strong></a></li>
</ul>
</li>
</ul>
<h1>π <a href="2.%20Data%20Structures">Data Structures</a></h1>
<ul>
<li>
<h3>π <a href="2.%20Data%20Structures//1.%20Arrays">Arrays</a></h3>
<ul>
<li>[x] π <a href="https://www.hackerrank.com/challenges/array-left-rotation/problem?isFullScreen=true">Left rotation</a> - <a href="2.%20Data%20Structures/1.%20Arrays/Left%20Rotation.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/2d-array/problem?isFullScreen=false">2d array - ds</a> - <a href="2.%20Data%20Structures/1.%20Arrays/2D%20Array%20-%20DS.py"><strong><em>Solution</em></strong></a></li>
</ul>
</li>
</ul>
<h1>π <a href="3.%20Mathematics">Mathematics</a></h1>
<ul>
<li>
<h3>π <a href="3.%20Mathematics//1.%20Fundamentals">Fundamentals</a></h3>
<ul>
<li>[x] π <a href="https://www.hackerrank.com/challenges/find-point/problem">Find the point</a> - <a href="3.%20Mathematics/1.%20Fundamentals/Find%20the%20Point.py"><strong><em>Solution</em></strong></a></li>
</ul>
</li>
</ul>
<h1>π <a href="4.%20Preparation%20Kits">Preparation Kits</a></h1>
<ul>
<li>
<h3>π <a href="4.%20Preparation%20Kits//1.%201%20Week%20Preparation%20Kit">1 Week Preparation Kit</a></h3>
<ul>
<li>[x] π <a href="https://www.hackerrank.com/interview/preparation-kits/one-week-preparation-kit/one-week-day-one/challenges">Mock test - 1</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Mock%20Test%20-%201.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/one-week-preparation-kit-plus-minus/problem?h_l=interview&isFullScreen=false&playlist_slugs%5B%5D=preparation-kits&playlist_slugs%5B%5D=one-week-preparation-kit&playlist_slugs%5B%5D=one-week-day-one">Plus minus</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Plus%20Minus.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/one-week-preparation-kit-time-conversion/problem?h_l=interview&isFullScreen=false&playlist_slugs%5B%5D=preparation-kits&playlist_slugs%5B%5D=one-week-preparation-kit&playlist_slugs%5B%5D=one-week-day-one&h_r=next-challenge&h_v=zen&h_r=next-challenge&h_v=zen">Time conversion</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Time%20Conversion.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/one-week-preparation-kit-diagonal-difference/problem?h_l=interview&isFullScreen=false&playlist_slugs%5B%5D=preparation-kits&playlist_slugs%5B%5D=one-week-preparation-kit&playlist_slugs%5B%5D=one-week-day-two">Diagonal difference</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Diagonal%20Difference.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/one-week-preparation-kit-mini-max-sum/problem?h_l=interview&isFullScreen=false&playlist_slugs%5B%5D=preparation-kits&playlist_slugs%5B%5D=one-week-preparation-kit&playlist_slugs%5B%5D=one-week-day-one&h_r=next-challenge&h_v=zen">Mini-max sum</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Mini-Max%20Sum.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/one-week-preparation-kit-lonely-integer/problem?h_l=interview&isFullScreen=false&playlist_slugs%5B%5D=preparation-kits&playlist_slugs%5B%5D=one-week-preparation-kit&playlist_slugs%5B%5D=one-week-day-two">Lonely integer</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Lonely%20Integer.py"><strong><em>Solution</em></strong></a></li>
<li>[x] π <a href="https://www.hackerrank.com/challenges/one-week-preparation-kit-countingsort1/problem?h_l=interview&isFullScreen=false&playlist_slugs%5B%5D=preparation-kits&playlist_slugs%5B%5D=one-week-preparation-kit&playlist_slugs%5B%5D=one-week-day-two">Counting sort 1</a> - <a href="4.%20Preparation%20Kits/1.%201%20Week%20Preparation%20Kit/Counting%20Sort%201.py"><strong><em>Solution</em></strong></a></li>
</ul>
</li>
</ul>
<hr>
<p align="left">
<img src="https://img.shields.io/badge/Problems%20Solved-42-brightgreen.svg">
<img src="https://img.shields.io/badge/Latest%20Update-13/10/2022-brightgreen.svg">
<img src="https://github.com/Mo-Shakib/HackerRank/actions/workflows/README_automation.yml/badge.svg">
</p>