Skip to content

hevalhazalkurt/Hackerrank_Python_Solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 

Repository files navigation

HackerRank

My HackerRank solutions and challenges



30 Days of Code ✅


No Question Name Difficulty Score Solution(s) Subject HR Link
0 Day 0 : Hello, World Easy 30 1 str link
1 Day 1 : Data Types Easy 30 1 str, int, float, data types link
2 Day 2 : Operators Easy 30 3 int, float, variables, arithmetic link
3 Day 3 : Intro to Conditional Statements Easy 30 4 if-elif-else, conditionals, logicals link
4 Day 4 : Class vs. Instance Easy 30 2 class link
5 Day 5 : Loops Easy 30 4 for, loops link
6 Day 6 : Let's Review Easy 30 3 str, manipulations link
7 Day 7 : Arrays Easy 30 3 array, list, sorting, data structures link
8 Day 8 : Dictionaries and Maps Easy 30 4 dict, mapping, hash tables data structures link
9 Day 9 : Recursion 3 Easy 30 2 recursion, math, operators link
10 Day 10 : Binary Numbers Easy 30 3 bin, int link
11 Day 11 : 2D Arrays Easy 30 3 array, list, matrix link
12 Day 12 : Inheritance Easy 30 1 class, oop link
13 Day 13 : Abstract Classes Easy 30 1 class, oop link
14 Day 14 : Scope Easy 30 1 function, scope link
15 Day 15 : Linked List Easy 30 1 linked list, class, oop link
16 Day 16 : Exceptions - String to Integer Easy 30 1 exception link
17 Day 17 : More Exceptions Easy 30 1 exception link
18 Day 18 : Queues and Stacks Easy 30 2 queue, stack, class, oop link
19 Day 19 : Interfaces Easy 30 1 interface, class, oop link
20 Day 20 : Sorting Easy 30 1 swap, sort, bubble sort link
21 Day 21 : Generics Easy 30 not available for python link
22 Day 22 : Binary Search Trees Easy 30 1 data structures, bst, binary search tree link
23 Day 23 : BST Level-Order Traversal Easy 30 1 data structures, bst, binary search tree link
24 Day 24 : More Linked Lists Easy 30 1 data structures, linked list, list link
25 Day 25 : Running Time and Complexity Medium 30 1 math, big-o, time complexity link
26 Day 26 : Nested Logic Easy 30 1 if-elif-else, conditionals, logicals, control flow link
27 Day 27 : Testing Easy 30 1 test link
28 Day 28 : RegEx, Patterns, and Intro to Databases Medium 30 1 test link
29 Day 29 : Bitwise AND Medium 30 1 bitwise, logicals link



The HackerRank Interview Preparation Kit


No Question Name Difficulty Score Solution(s) Subject HR Link
1 Warm-up Challenges
1.1. Sock Merchant Easy 10 3 hashmap, dict link
1.2. Counting Valleys Easy 15 2 array, list link
1.3. Jumping on the Clouds Easy 20 1 array, list, link
1.4. Repeated String Easy 20 1 str link
2 Arrays
2.1. 2D Array - DS Easy 15 1 array, list, matrix link
2.2. Arrays: Left Rotation Easy 20 1 array, list, sort link
2.3. New Year Chaos Medium 40 1 array, list, swap link
2.4. Minimum Swaps 2 Medium 40 1 array, list, swap link
3 Dictionaries and Hashmaps
3.1. Hash Tables: Ransom Note Easy 25 3 hashmap, dict link
3.2. Two Strings Easy 25 2 hashmap, set link
3.3. Sherlock and Anagrams Medium 50 1 hashmap, dict link
3.4. Count Triplets Medium 35 2 hashmap, dict link
3.5. Frequency Queries Medium 40 2 hashmap, dict link



Python Language Proficiency ⏳


No Question Name Difficulty Score Solution(s) Subject HR Link
1 Say "Hello, World!" With Python Easy 5 1 str link
2 Python If-Else Easy 10 2 if-elif-else, conditionals, control flow link
3 Arithmetic Operators Easy 10 2 math, operators link
4 Division Easy 10 2 math, operators, data types link
5 Loops Easy 10 2 loops, for, while link
6 Write a function Medium 10 2 function link
7 Print Function Easy 20 5 array, list, loops link
8 List Comprehensions Easy 10 2 array, list, matrix, list comprehension, data types link
9 Find the Runner-Up Score Easy 10 1 array, list, sort, data types link
10 Nested Lists Easy 10 1 array, list, nested list, sort, data types link
11 Finding The Percentage Easy 10 1 hashmap, dict, data types link
12 Lists Easy 10 1 array, list, data types link
13 Tuples Easy 10 1 tuple, data types link
14 sWAP cASE Easy 10 1 str, swap link
15 String Split and Join Easy 10 1 array, list link
16 What's Your Name? Easy 10 1 str, format link
17 Mutations Easy 10 1 str, manipulations link
18 Find a string Easy 10 1 str link
19 String Validators Easy 10 1 str, validation link
20 Text Alignment Easy 10 1 str, format link
21 Text Wrap Easy 10 1 str, format link
22 Designer Door Mat Easy 10 1 str, format link
23 String Formatting Easy 10 2 str, format link
24 Alphabet_Rangoli Easy 20 1 str, format link
25 Capitalize Easy 20 1 str, format link
26 The Minion Game Medium 40 1 str link
27 Merge the Tools! Medium 40 2 str, format, data types link
30 collections.Counter() Easy 10 1 hashmap, dict, data types, collections link
31 itertools.permutations() Easy 10 1 hashmap, dict, data types, itertools, permutation link
34 DefaultDict Tutorial Easy 20 1 hashmap, dict, data types, collections, defaultdict link
37 Collections.namedtuple() Easy 20 1 hashmap, collections, namedtuple link
41 Collections.OrderedDict() Easy 20 1 hashmap, collections, orderecdict link
47 Word Order Medium 50 2 hashmap, dict, data types, sort, collections, orderecdict link
49 Collections.deque() Easy 20 1 array, queue, stack, list collections, deque link
51 Company Logo Medium 30 1 array, dict, hashmap, sort link



Contests ⏳


No Question Name Difficulty Score Solution(s) Subject HR Link
1 appSMART : Python One Hard 50 1 str, array, list, sort link
2 Pycode2015 : Dictionary-Assignment Medium 100 2 hashmap, dict, str, format link