Skip to content

engineeringwitharavind/hackerrank

Repository files navigation

Hackerrank Logo

This Repository Contains Hackerrank Practice Solutions which will be eventually updated as I solve.

30 Days of Code:

Please Note:

  • I came across this nice post. which will make you not to give up.
Day Challenge Points Python Solution
00 Hello,World 30 Solution
01 Data Types 30 Solution
02 Operators 30 Solution
03 Intro to Conditional Statements 30 Solution
04 Class vs. Instance 30 Solution
05 Loops 30 Solution
06 Let's Review 30 Solution
07 Arrays 30 Solution
08 Dictionaries and Maps 30 Solution
09 Recursion 3 30 Solution
10 Binary Numbers 30 Solution
11 2D Arrays 30 Solution
12 Inheritance 30 Solution
13 Abstract Classes 30 Solution
14 Scope 30 Solution
15 Linked List 30 Solution
16 Exceptions- String to Integer 30 Solution
17 More Exceptions 30 Solution
18 Queues and Stacks 30 Solution
19 Interfaces 30 Solution
20 Sorting 30 Solution
21 Generics 30 Solution.cs
22 Binary Search Trees 30 Solution
23 BST Level-Order Traversal 30 Solution
24 More Linked Lists 30 Solution
25 Running Time and Complexity 30 Solution
26 Nested Logic 30 Solution
27 Testing 30 Solution
28 RegEx,Patterns and Intro to Databases 30 Solution
29 Bitwise AND 30 Solution

C Language HackerRank Practice Solutions:

Sub-Topic Challenge Solution Score
Introduction Hello,World! Solution 5
Introduction Playing with Characters Solution 5
Introduction Sum and Difference of Two Numbers Solution 5
Introduction Functions in C Solution 10
Introduction Pointers in C Solution 10
Conditionals and Loops Conditional Statements in C Solution 10
Conditionals and Loops For Loop in C Solution 10
Conditionals and Loops Sum of Digits of Five Digit Number Solution 15
Conditionals and Loops Bitwise Operators Solution 15
Conditionals and Loops Printing Pattern using Loops Solution 30
Arrays and Strings 1D Arrays in C Solution 10
Arrays and Strings Array Reversal Solution 20
Arrays and Strings Printing Tokens Solution 20
Arrays and Strings Digit Frequency Solution 25
Arrays and Strings Dynamic Array in C Solution 40
Functions Calculate the Nth Term Solution 15
Functions Students Marks Sum Solution 20
Functions Sorting Array of Strings Solution 40
Functions Permutations of String Solution 40
Functions Variadic Functions in C Solution 50
Functions Querying the Document Solution 60
Structs and Enums Boxes through a Tunnel Solution 25
Structs and Enums Small Triangles,Large Triangles Solution 30
Structs and Enums Post Transition Solution 50
Structs and Enums Structuring the Document Solution 60

Python HackerRank Practice Solutions:

Sub-Topic Challenge Solution Score
Introduction Say "Hello,World!" with Python Solution 5
Introduction Python If-Else Solution 10
Introduction Arithmetic Operators Solution 10
Introduction Python: Division Solution 10
Introduction Loops Solution 10
Introduction Write a Function Solution 10
Introduction Print Function Solution 20
Basic Data Types Lists Solution 10
Basic Data Types Tuples Solution 10
Basic Data Types List Comprehensions Solution 10
Basic Data Types Find the Runner-Up Score! Solution 10
Basic Data Types Nested Lists Solution 10
Basic Data Types Finding the Percentage Solution 10
Strings sWAP cASE Solution 10
Strings What's Your Name? Solution 10
Strings String Split and Join Solution 10
Strings Mutations Solution 10
Strings Find a String Solution 10
Strings String Validators Solution 10
Strings Text Alignment Solution 10
Strings Text Wrap Solution 10
Strings Designer Door Mat Solution 10
Strings String Formatting Solution 10
Strings Alphabet Rangoli Solution 20
Strings Capitalize Solution 20
Strings The Minion Game Solution 40
Strings Merge the Tools! Solution 40
Sets Introduction to Sets Solution 10
Sets Set.add() Solution 10
Sets Set.discard(), .remove(), .pop() Solution 10
Sets Set.union() Solution 10
Sets Set.intersection() Operation Solution 10
Sets Set.difference() Operation Solution 10
Sets Set.symmetric_difference() Operation Solution 10
Sets Set Mutations Solution 10
Sets The Captain's Room Solution 10
Sets Check Subset Solution 10
Sets Check Strict Superset Solution 10
Math Polar Coordinates Solution 10

SQL HackerRank Practice Solutions:

Please Note:

Sub-Topic Challenge Solution Score
Basic Select Revising the Select Query I MS-SQL Solution 10
Basic Select Revising the Select Query II MS-SQL Solution 10
Basic Select Select All MS-SQL Solution 10
Basic Select Select By ID MS-SQL Solution 10
Basic Select Japanese Cities' Attributes MS-SQL Solution 10
Basic Select Japanese Cities' Name MS-SQL Solution 10
Basic Select Weather Observation Station 1 MS-SQL Solution 15
Basic Select Weather Observation Station 3 MS-SQL Solution 10
Basic Select Weather Observation Station 4 MS-SQL Solution 10
Basic Select Weather Observation Station 5 MySQL Solution 30
Basic Select Weather Observation Staion 6 MS-SQL Solution 10
Basic Select Weather Observation Staion 7 MS-SQL Solution 10
Basic Select Weather Observation Staion 8 MS-SQL Solution 15
Basic Select Weather Observation Staion 9 MS-SQL Solution 10
Basic Select Weather Observation Staion 10 MS-SQL Solution 10
Basic Select Weather Observation Staion 11 MS-SQL Solution 15
Basic Select Weather Observation Staion 12 MS-SQL Solution 15
Basic Select Higher than 75 Marks MS-SQL Solution 15
Basic Select Employee Names MS-SQL Solution 10
Basic Select Employee Salaries MS-SQL Solution 10
Advanced Select Type of Triangle MS-SQL Solution 20
Advanced Select The PADS MS-SQL Solution 30
Advanced Select Occupation MS-SQL Solution 30
Advanced Select Binary Tree Nodes MS-SQL Solution 30
Advanced Select New Companies MS-SQL Solution 30
Aggregation Revising Aggregations-The Count Function MS-SQL Solution 10
Aggregation Revising Aggregations-The Sum Function MS-SQL Solution 10
Aggregation Revising Aggregations-Average MS-SQL Solution 10
Aggregation Average Population MS-SQL Solution 10
Aggregation Japan Population MS-SQL Solution 10
Aggregation Population Density Difference MS-SQL Solution 10
Aggregation The Blunder MySQL Solution 15
Aggregation Top Earners MS-SQL Solution 20
Aggregation Weather Observation Station 2 MS-SQL Solution 15
Aggregation Weather Observation Station 13 MS-SQL Solution 10
Aggregation Weather Observation Station 14 MS-SQL Solution 10
Aggregation Weather Observation Station 15 MS-SQL Solution 15
Aggregation Weather Observation Station 16 MS-SQL Solution 10
Aggregation Weather Observation Station 17 MS-SQL Solution 15
Aggregation Weather Observation Station 18 MS-SQL Solution 25
Aggregation Weather Observation Station 19 MS-SQL Solution 30
Aggregation Weather Observation Station 20 MS-SQL Solution 40
Basic Join Asian Population MS-SQL Solution 10
Basic Join African Cities MS-SQL Solution 10
Basic Join Average Population of Each Continent MySQL Solution 10
Basic Join The Report MySQL Solution 20
Basic Join Top Competitors MS-SQL Solution 30
Basic Join Olivander's Inventory MS-SQL Solution 30
Basic Join Challenges MS-SQL Solution 30
Basic Join Contest Leaderboard MS-SQL Solution 30
Advanced Join SQL Project Planning MS-SQL Solution 40
Advanced Join Placements MySQL Solution 40
Advanced Join Symmetric Pairs MS-SQL Solution 40
Advanced Join Interviews MS-SQL Solution 50
Advanced Join 15 Days of Learning SQL MS-SQL Solution 50
Alternative Queries Draw the Triangle 1 MySQL Solution 25
Alternative Queries Draw the Triangle 2 MySQL Solution 25
Alternative Queries Print Prime Numbers MS-SQL Solution 40

HackerRank-30 Contest:

Sub-Topic Challenge Solution Score
HackerRank-30 Video Conference Solution 15