Skip to content

This Repository contain solutions to HackerRank 30 Days Of Code Challenge, 10 days of javascript,10 days of statistics,java,sql.

License

Notifications You must be signed in to change notification settings

rutujar/HackerRank-solutions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HACKERRANK SOLUTIONS

GitHub last commit GitHub repo size in bytes

PROFILE

hackerrank

10 Days of Statistics

Day Challenge Points Solution
0 Mean, Median, and Mode 30 Solution.java
0 Weighted Mean 30 Solution.java
1 Quartiles 30 Solution.java
1 Interquartile Range 30 Solution.java
1 Standard Deviation 30 Solution.java
2 Basic Probability 10 Solution
2 More Dice 10 Solution
2 Compound Event Probability 10 Solution
3 Conditional Probability 10 Solution
3 Cards of the Same Suit 10 Solution
3 Drawing Marbles 10 Solution
4 Binomial Distribution I 30 Solution.java
4 Binomial Distribution II 30 Solution.java
4 Geometric Distribution I 30 Solution.java
4 Geometric Distribution II 30 Solution.java
5 Poisson Distribution I 30 Solution.java
5 Poisson Distribution II 30 Solution.java
5 Normal Distribution I 30 Solution.java
5 Normal Distribution II 30 Solution.java
6 The Central Limit Theorem I 30 Solution.java
6 The Central Limit Theorem II 30 Solution.java
6 The Central Limit Theorem III 30 Solution.java
7 Pearson Correlation Coefficient I 30 Solution.java
7 Spearman's Rank Correlation Coefficient 30 Solution.java
8 Least Square Regression Line 30 Solution.java
8 Pearson Correlation Coefficient II 30 Solution
9 Multiple Linear Regression 30 Solution.java

10 Days of Javascript

Day Challenge Points Solution
0 Hello World 10 Solution.js
0 Data Types 10 Solution.js
1 Arithmetic Operators 10 Solution.js
1 Functions 10 Solution.js
1 Let and Const 10 Solution.js
2 Conditional Statements: If-Else 10 Solution.js
2 Conditional Statements: Switch 10 Solution.js
2 Loops 10 Solution.js
3 Arrays 15 Solution.js
3 Try, Catch, and Finally 15 Solution.js
3 Throw 15 Solution.js
4 Create a Rectangle Object 15 Solution.js
4 Count Objects 15 Solution.js
4 Classes 15 Solution.js
5 Inheritance 15 Solution.js
5 Template Literals 15 Solution.js
5 Arrow Functions 15 Solution.js
6 Bitwise Operators 15 Solution.js
6 JavaScript Dates 15 Solution.js
7 Regular Expressions I 15 Solution.js
7 Regular Expressions II 15 Solution.js
7 Regular Expressions III 15 Solution.js
8 Create a Button 20 Solution.js
8 Buttons Container 25 Solution.js
9 Binary Calculator 30 Solution.js

Java

Subdomain Challenge Points Solution
Introduction Welcome to Java! 3 Solution.java
Introduction Java Stdin and Stdout I 5 Solution.java
Introduction Java If-Else 10 Solution.java
Introduction Java Stdin and Stdout II 10 Solution.java
Introduction Java Output Formatting 10 Solution.java
Introduction Java Loops I 10 Solution.java
Introduction Java Loops II 10 Solution.java
Introduction Java Datatypes 10 Solution.java
Introduction Java End-of-file 10 Solution.java
Introduction Java Static Initializer Block 10 Solution.java
Introduction Java Int to String 10 Solution.java
Introduction Java Date and Time 15 Solution.java
Introduction Java Currency Formatter 15 Solution.java
Strings Java Strings Introduction 5 Solution.java
Strings Java Substring 5 Solution.java
Strings Java Substring Comparisons 10 Solution.java
Strings Java String Reverse 10 Solution.java
Strings Java Anagrams 10 Solution.java
Strings Java String Tokens 15 Solution.java
Strings Pattern Syntax Checker 20 Solution.java
Strings Java Regex 25 Solution.java
Strings Java Regex 2 - Duplicate Words 25 Solution.java
Strings Valid Username Regular Expression 20 Solution.java
Strings Tag Content Extractor 20 Solution.java
BigNumber Java BigInteger 10 Solution.java
BigNumber Java BigDecimal 20 Solution.java
BigNumber Java Primality Test 20 Solution.java
Data Structures Java 1D Array 5 Solution.java
Data Structures Java 2D Array 10 Solution.java
Data Structures Java Subarray 10 Solution.java
Data Structures Java Arraylist 10 Solution.java
Data Structures Java 1D Array (Part 2) 25 Solution.java
Data Structures Java List 15 Solution.java
Data Structures Java Map 10 Solution.java
Data Structures Java Stack 20 Solution.java
Data Structures Java Hashset 10 Solution.java
Data Structures Java Generics 15 Solution.java
Data Structures Java Comparator 10 Solution.java
Data Structures Java Sort 10 Solution.java
Data Structures Java Dequeue 20 Solution.java
Data Structures Java BitSet 20 Solution.java
Object Oriented Programming Java Inheritance I 5 Solution.java
Object Oriented Programming Java Inheritance II 10 Solution.java
Object Oriented Programming Java Abstract Class 10 Solution.java
Object Oriented Programming Java Interface 10 Solution.java
Object Oriented Programming Java Method Overriding 10 Solution.java
Object Oriented Programming Java Method Overriding 2 (Super Keyword) 10 Solution.java
Object Oriented Programming Java Instanceof keyword 10 Solution.java
Object Oriented Programming Java Iterator 15 Solution.java
Exception Handling Java Exception Handling (Try-catch) 10 Solution.java
Exception Handling Java Exception Handling 15 Solution.java
Advanced Java Varargs - Simple Addition 15 Solution.java
Advanced Java Reflection - Attributes 15 Solution.java
Advanced Can You Access 15 Solution.java
Advanced Prime Checker 25 Solution.java
Advanced Java Factory Pattern 15 Solution.java
Advanced Java Singleton Pattern 15 Solution.java
Advanced Java Visitor Pattern 40 Solution.java
Advanced Java Annotations 25 Solution.java
Advanced Covariant Return Types 20 Solution.java
Advanced Java Lambda Expressions 30 Solution.java
Advanced Java MD5 30 Solution.java
Advanced Java SHA-256 30 Solution.java

SQL

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

Python

Subdomain Challenge Points Solution
Introduction Say "Hello, World!" With Python 5 Solution.py
Introduction Python If-Else 5 Solution.py
Introduction Arithmetic Operators 10 Solution.py
Introduction Python: Division 10 Solution.py
Introduction Loops 10 Solution.py
Introduction Write a function 10 Solution.py
Introduction Print Function 10 Solution.py
Basic Data Types List Comprehensions 10 Solution.py
Basic Data Types Find the Runner-Up Score! 10 Solution.py
Basic Data Types Nested Lists 10 Solution.py
Basic Data Types Finding the percentage 10 Solution.py
Basic Data Types Lists 10 Solution.py
Basic Data Types Tuples 10 Solution.py
Strings sWAP cASE 10 Solution.py
Strings String Split and Join 10 Solution.py
Strings What's Your Name? 10 Solution.py
Strings Mutations 10 Solution.py
Strings Find a string 10 Solution.py
Strings String Validators 10 Solution.py
Strings Text Alignment 10 Solution.py
Strings Text Wrap 10 Solution.py
Strings Designer Door Mat 10 Solution.py
Strings String Formatting 10 Solution.py
Strings Alphabet Rangoli 10 Not solved
Strings Capitalize! 20 Not solved
Strings The Minion Game 40 Not solved
Strings Merge the Tools! 40 Not solved
Sets Introduction to Sets 10 Solution.py
Sets No Idea! 50 Solution.py
Sets Symmetric Difference 10 Solution.py
Sets Set .add() 10 Solution.py
Sets Set .discard(), .remove() & .pop() 10 Solution.py
Sets Set .union() Operation 10 Solution.py
Sets Set .intersection() Operation 10 Solution.py
Sets Set .difference() Operation 10 Solution.py
Sets Set .symmetric_difference() Operation 10 Solution.py
Sets Set Mutations 10 Solution.py
Sets The Captain's Room 10 Solution.py
Sets Check Subset 10 Solution.py
Sets Check Strict Superset 10 Solution.py
Math Polar Coordinates 10 Solution.py
Math Find Angle MBC 10 Solution.py
Math Mod Divmod 10 Solution.py
Math Power - Mod Power 10 Solution.py
Math Integers Come In All Sizes 10 Solution.py
Math Triangle Quest 20 Solution.py
Math Triangle Quest 2 10 Not solved
Itertools itertools.product() 10 Solution.py
Itertools itertools.permutations() 10 Solution.py
Itertools itertools.combinations() 10 Solution.py
Itertools itertools.combinations_with_replacement() 10 Solution.py
Itertools Compress the String! 20 Solution.py
Itertools Iterables and Iterators 40 Solution.py
Itertools Maximize It! 50 Solution.py
Collections collections.Counter() 10 Solution.py
Collections DefaultDict Tutorial 20 Solution.py
Collections Collections.namedtuple() 20 Solution.py
Collections Collections.OrderedDict() 20 Solution.py
Collections Word Order 50 Solution.py
Collections Collections.deque() 20 Solution.py
Collections Company Logo 30 Solution.py
Collections Piling Up! 50 Solution.py
Date and Time Calendar Module 10 Solution.py
Date and Time Time Delta 30 Solution.py
Errors and Exceptions Exceptions 10 Solution.py
Errors and Exceptions Incorrect Regex 20 Solution.py