Skip to content

mearjuntripathi/HackerRank

Β 
Β 

Repository files navigation

Solutions Languages Author MIT



Disclaimer

Most of the problems are solved by using the Algo library.
Solutions to LeetCode problems.
Solutions to InterviewBit problems.

The problem solutions and implementations are entirely provided by Alex Prut. The code is not refactored, no coding style is followed, the only purpose of the written code is to pass all the platform tests of a given problem.

Table of contents

  1. Algorithms
  2. Data Structures
  3. Functional Programming
  4. Java
  5. C++
  6. Python
  7. Distributed Systems
  8. Mathematics
  9. Artificial Intelligence
  10. Linux Shell
  11. Sql

Algorithms

Subdomain Challenge Difficulty Score Solution
Warmup Solve Me First Easy 1 Solution.cpp
Warmup Simple Array Sum Easy 10 Solution.cpp
Warmup Compare the Triplets Easy 10 Solution.cpp
Warmup A Very Big Sum Easy 10 Solution.cpp
Warmup Diagonal Difference Easy 10 Solution.cpp
Warmup Plus Minus Easy 10 Solution.cpp
Warmup Staircase Easy 10 Solution.cpp
Warmup Mini-Max Sum Easy 10 Solution.cpp
Warmup Birthday Cake Candles Easy 10 Solution.java
Warmup Time Conversion Easy 15 Solution.java
Implementation Grading Students Easy 10 Solution.java
Implementation Apple and Orange Easy 10 Solution.cpp
Implementation Kangaroo Easy 10 Solution.cpp
Implementation Between Two Sets Easy 10 Solution.java
Implementation Breaking the Records Easy 10 Solution.cpp
Implementation Birthday Chocolate Easy 10 Solution.java
Implementation Divisible Sum Pairs Easy 10 Solution.java
Implementation Migratory Birds Easy 10 Solution.java
Implementation Bon AppΓ©tit Easy 10 Solution.java
Implementation Sock Merchant Easy 10 Solution.java
Implementation Drawing Book Easy 10 Solution.java
Implementation Counting Valleys Easy 15 Solution.java
Implementation Electronics Shop Easy 15 Solution.java
Implementation Cats and a Mouse Easy 15 Solution.java
Implementation Picking Numbers Easy 20 Solution.java
Implementation The Hurdle Race Easy 15 Solution.java
Implementation Designer PDF Viewer Easy 20 Solution.java
Implementation Utopian Tree Easy 20 Solution.java
Implementation Angry Professor Easy 20 Solution.java
Implementation Beautiful Days at the Movies Easy 15 Solution.java
Implementation Viral Advertising Easy 15 Solution.java
Implementation Save the Prisoner! Easy 15 Solution.java
Implementation Circular Array Rotation Easy 20 Solution.java
Implementation Sequence Equation Easy 20 Solution.java
Implementation Jumping on the Clouds: Revisited Easy 15 Solution.java
Implementation Find Digits Easy 25 Solution.java
Implementation Extra Long Factorials Medium 20 Solution.cpp
Implementation Append and Delete Easy 20 Solution.java
Implementation Sherlock and Squares Easy 20 Solution.java
Implementation Library Fine Easy 15 Solution.java
Implementation Cut the sticks Easy 25 Solution.java
Implementation Repeated String Easy 20 Solution.java
Implementation Jumping on the Clouds Easy 20 Solution.java
Implementation Equalize the Array Easy 20 Solution.java
Implementation Queen's Attack II Medium 30 Solution.java
Implementation ACM ICPC Team Easy 25 Solution.java
Implementation Taum and B'day Easy 25 Solution.java
Implementation Modified Kaprekar Numbers Easy 30 Solution.java
Implementation Beautiful Triplets Easy 20 Solution.java
Implementation Minimum Distances Easy 20 Solution.java
Implementation Halloween Sale Easy 20 Solution.java
Implementation The Time in Words Medium 25 Solution.cpp
Implementation Chocolate Feast Easy 25 Solution.java
Implementation Service Lane Easy 20 Solution.java
Implementation Lisa's Workbook Easy 25 Solution.java
Implementation Flatland Space Stations Easy 25 Solution.java
Implementation Fair Rations Easy 25 Solution.java
Implementation Cavity Map Easy 30 Solution.java
Implementation Manasa and Stones Easy 30 Solution.java
Implementation Happy Ladybugs Easy 30 Solution.java
Implementation Strange Counter Easy 30 Solution.java
Strings Super Reduced String Easy 10 Solution.java
Strings CamelCase Easy 15 Solution.java
Strings Strong Password Easy 15 Solution.java
Strings Two Characters Easy 20 Solution.java
Strings Caesar Cipher Easy 15 Solution.java
Strings Mars Exploration Easy 15 Solution.java
Strings HackerRank in a String! Easy 20 Solution.java
Strings Pangrams Easy 20 Solution.java
Strings Separate the Numbers Easy 20 Solution.java
Strings Funny String Easy 25 Solution.java
Strings Gemstones Easy 20 Solution.java
Strings Alternating Characters Easy 20 Solution.java
Strings Beautiful Binary String Easy 20 Solution.java
Strings The Love-Letter Mystery Easy 20 Solution.java
Strings Palindrome Index Easy 25 Solution.java
Strings Anagram Easy 25 Solution.java
Strings Making Anagrams Easy 30 Solution.java
Strings Game of Thrones - I Easy 30 Solution.java
Strings Two Strings Easy 25 Solution.java
Strings String Construction Easy 25 Solution.java
Strings Sherlock and the Valid String Medium 35 Solution.java
Strings Common Child Medium 60 Solution.java
Sorting Big Sorting Easy 20 Solution.java
Sorting Intro to Tutorial Challenges Easy 30 Solution.java
Sorting Insertion Sort - Part 1 Easy 30 Solution.cpp
Sorting Insertion Sort - Part 2 Easy 30 Solution.java
Sorting Correctness and the Loop Invariant Easy 30 Solution.java
Sorting Running Time of Algorithms Easy 30 Solution.java
Sorting Quicksort 1 - Partition Easy 10 Solution.java
Sorting Counting Sort 1 Easy 30 Solution.java
Sorting Counting Sort 2 Easy 30 Solution.java
Sorting The Full Counting Sort Medium 40 Solution.java
Sorting Closest Numbers Easy 35 Solution.cpp
Sorting Find the Median Easy 35 Solution.java
Search Hackerland Radio Transmitters Medium 25 Solution.java
Search Ice Cream Parlor Easy 30 Solution.java
Search KnightL on a Chessboard Medium 35 Solution.cpp
Search Minimum Loss Medium 35 Solution.java
Search Missing Numbers Easy 45 Solution.java
Search Pairs Medium 50 Solution.java
Search Sherlock and Array Easy 40 Solution.java
Search Connected Cells in a Grid Medium 50 Solution.java
Search Count Luck Medium 50 Solution.java
Search Cut the Tree Medium 50 Solution.java
Search Red Knight's Shortest Path Medium 60 Solution.java
Graph Theory Roads and Libraries Medium 30 Solution.java
Graph Theory Journey to the Moon Medium 50 Solution.java
Graph Theory Breadth First Search: Shortest Reach Medium 55 Solution.java
Graph Theory Kruskal (MST): Really Special Subtree Medium 50 Solution.java
Graph Theory Even Tree Medium 50 Solution.java
Graph Theory Snakes and Ladders: The Quickest Way Up Medium 50 Solution.java
Graph Theory Dijkstra: Shortest Reach 2 Hard 60 Solution.java
Graph Theory The Story of a Tree Medium 50 Solution.cpp
Graph Theory Prim's (MST) : Special Subtree Medium 60 Solution.java
Graph Theory Floyd : City of Blinding Lights Hard 75 Solution.java
Greedy Minimum Absolute Difference in an Array Easy 15 Solution.java
Greedy Marc's Cakewalk Easy 15 Solution.cpp
Greedy Grid Challenge Easy 20 Solution.java
Greedy Luck Balance Easy 20 Solution.cpp
Greedy Maximum Perimeter Triangle Easy 20 Solution.java
Greedy Beautiful Pairs Easy 30 Solution.java
Greedy Sherlock and The Beast Easy 30 Solution.java
Greedy Priyanka and Toys Easy 30 Solution.java
Greedy Mark and Toys Easy 35 Solution.java
Greedy Greedy Florist Medium 35 Solution.java
Greedy Max Min Medium 35 Solution.java
Greedy Jim and the Orders Easy 40 Solution.java
Greedy Permuting Two Arrays Easy 40 Solution.java
Greedy Goodland Electricity Medium 40 Solution.java
Dynamic Programming The Coin Change Problem Hard 60 Solution.cpp
Dynamic Programming Sherlock and Cost Medium 50 Solution.java
Dynamic Programming Candies Medium 50 Solution.java
Dynamic Programming Fibonacci Modified Medium 45 Solution.java
Dynamic Programming Abbreviation Medium 40 Solution.java
Dynamic Programming The Maximum Subarray Medium 50 Solution.cpp
Dynamic Programming Substring Diff Medium 50/60 Solution.java
Dynamic Programming Stock Maximize Medium 50 Solution.java
Dynamic Programming Knapsack Medium 60 Solution.java
Dynamic Programming Bricks Game Medium 55 Solution.java
Dynamic Programming The Longest Common Subsequence Medium 55 Solution.java
Constructive Algorithms Flipping the Matrix Medium 30 Solution.java
Bit Manipulation Lonely Integer Easy 20 Solution.java
Bit Manipulation Maximizing XOR Easy 30 Solution.java
Bit Manipulation Sum vs XOR Easy 25 Solution.java
Bit Manipulation Flipping bits Easy 40 Solution.java
Recursion The Power Sum Medium 20 Solution.java
Recursion Recursive Digit Sum Medium 30 Solution.java
Game Theory Game of Stones Easy 15 Solution.java
Game Theory Tower Breakers Easy 15 Solution.java

Data Structures

Subdomain Challenge Difficulty Score Solution
Arrays Arrays - DS Easy 10 Solution.java
Arrays 2D Array - DS Easy 15 Solution.cpp
Arrays Dynamic Array Easy 15 Solution.java
Arrays Left Rotation Easy 20 Solution.java
Arrays Sparse Arrays Medium 25 Solution.cpp
Arrays Array Manipulation Hard 60 Solution.java
Linked Lists Print the Elements of a Linked List Easy 5 Solution.java
Linked Lists Insert a Node at the Tail of a Linked List Easy 5 Solution.cpp
Linked Lists Insert a node at the head of a linked list Easy 5 Solution.cpp
Linked Lists Insert a node at a specific position in a linked list Easy 5 Solution.java
Linked Lists Delete a Node Easy 5 Solution.cpp
Linked Lists Print in Reverse Easy 5 Solution.cpp
Linked Lists Reverse a linked list Easy 5 Solution.java
Linked Lists Compare two linked lists Easy 5 Solution.cpp
Linked Lists Merge two sorted linked lists Easy 5 Solution.java
Linked Lists Get Node Value Easy 5 Solution.java
Linked Lists Delete duplicate-value nodes from a sorted linked list Easy 5 Solution.java
Linked Lists Cycle Detection Medium 5 Solution.java
Linked Lists Find Merge Point of Two Lists Easy 5 Solution.java
Linked Lists Inserting a Node Into a Sorted Doubly Linked List Easy 5 Solution.cpp
Linked Lists Reverse a doubly linked list Easy 5 Solution.cpp
Trees Tree: Preorder Traversal Easy 10 Solution.java
Trees Tree: Postorder Traversal Easy 10 Solution.java
Trees Tree: Inorder Traversal Easy 10 Solution.java
Trees Tree: Height of a Binary Tree Easy 10 Solution.java
Trees Tree : Top View Easy 20 Solution.java
Trees Tree: Level Order Traversal Easy 20 Solution.java
Trees Binary Search Tree : Insertion Easy 20 Solution.java
Trees Tree: Huffman Decoding Medium 20 Solution.java
Trees Binary Search Tree : Lowest Common Ancestor Easy 30 Solution.java
Trees Swap Nodes [Algo] Medium 40 Solution.java
Trees Is This a Binary Search Tree? Medium 30 Solution.cpp
Balanced Trees Self Balancing Tree Medium 50 Solution.java
Stacks Maximum Element Easy 20 Solution.java
Stacks Balanced Brackets Medium 25 Solution.java
Stacks Equal Stacks Easy 25 Solution.java
Stacks Largest Rectangle Medium 50 Solution.java
Stacks Simple Text Editor Medium 65 Solution.java
Stacks Waiter Medium 75 Solution.java
Queues Queue using Two Stacks Medium 30 Solution.cpp
Heap QHEAP1 Easy 25 Solution.java
Heap Jesse and Cookies Easy 25 Solution.java
Heap Find the Running Median Hard 50 Solution.java
Disjoint Set Merging Communities Hard 50 Solution.cpp
Disjoint Set Components in a graph Medium 50 Solution.cpp
Multiple Choice Data Structures MCQ 1 Hard 5 Solution.txt
Multiple Choice Data Structures MCQ 2 Hard 5 Solution.txt
Multiple Choice Data Structures MCQ 3 Hard 5 Solution.txt
Trie Contacts Medium 40 Solution.cpp
Trie No Prefix Set Hard 50 Solution.java

Functional Programming

Subdomain Challenge Difficulty Score Solution
Introduction Solve Me First FP Easy 3 Solution.hs
Introduction Hello World Easy 5 Solution.hs
Introduction Hello World N Times Easy 5 Solution.hs
Introduction List Replication Easy 10 Solution.hs
Introduction Filter Array Easy 10 Solution.hs
Introduction Filter Positions in a List Easy 10 Solution.hs
Introduction Array Of N Elements Easy 10 Solution.hs
Introduction Reverse a List Easy 10 Solution.hs
Introduction Sum of Odd Elements Easy 10 Solution.hs
Introduction List Length Easy 10 Solution.hs
Introduction Update List Easy 10 Solution.hs
Introduction Evaluating e^x Easy 20 Solution.hs
Introduction Lambda Calculus - Reductions #1 Easy 5 Solution.txt
Introduction Lambda Calculus - Reductions #2 Easy 5 Solution.txt
Introduction Lambda Calculus - Reductions #3 Medium 5 Solution.txt
Introduction Lambda Calculus - Reductions #4 Medium 5 Solution.txt
Introduction Lambda Calculus - Evaluating Expressions #1 Easy 5 Solution.txt
Introduction Lambda Calculus - Evaluating Expressions #2 Easy 5 Solution.txt
Introduction Lambda Calculus - Evaluating Expressions #3 Easy 5 Solution.txt
Introduction Lambda Calculus - Evaluating Expressions #4 Medium 5 Solution.txt
Introduction Lambda Calculus - Evaluating Expressions #5 Medium 5 Solution.txt
Introduction Functions or Not? Easy 5 Solution.hs
Introduction Compute the Perimeter of a Polygon Easy 15 Solution.hs
Recursion Computing the GCD Easy 2 Solution.hs
Recursion Fibonacci Numbers Easy 2 Solution.hs
Recursion Pascal's Triangle Easy 10 Solution.hs
Recursion String Mingling Easy 10 Solution.hs
Recursion String-o-Permute Easy 10 Solution.hs
Recursion String Compression Easy 10 Solution.hs
Recursion Prefix Compression Easy 10 Solution.hs
Recursion String Reductions Easy 10 Solution.hs
Recursion Sequence full of colors Easy 10 Solution.hs
Recursion Filter Elements Easy 10 Solution.hs
Recursion Super Digit Medium 20 Solution.hs
Functional Structures Swap Nodes Medium 40 Solution.hs
Functional Structures Valid BST Medium 20 Solution.hs
Memoization and DP Pentagonal Numbers Easy 30 Solution.hs
Memoization and DP Fibonacci Easy 30 Solution.hs
Ad Hoc Rotate String Easy 20 Solution.hs
Ad Hoc Remove Duplicates Easy 10 Solution.hs
Ad Hoc Common Divisors Easy 20 Solution.hs
Ad Hoc Subset Sum Easy 20 Solution.hs

Java

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

C++

Subdomain Challenge Difficulty Score Solution
Introduction Say "Hello, World!" With C++ Easy 5 Solution.cpp
Introduction Input and Output Easy 5 Solution.cpp
Introduction Basic Data Types Easy 10 Solution.cpp
Introduction Conditional Statements Easy 10 Solution.cpp
Introduction For Loop Easy 10 Solution.cpp
Introduction Functions Easy 10 Solution.cpp
Introduction Pointer Easy 10 Solution.cpp
Introduction Arrays Introduction Easy 10 Solution.cpp
Introduction Variable Sized Arrays Easy 30 Solution.cpp
Introduction Virtual Functions Medium 40 Solution.cpp
Classes Structs Easy 10 Solution.cpp
Classes Class Easy 10 Solution.cpp
Classes Classes and Objects Easy 20 Solution.cpp
Classes Box It! Easy 30 Solution.cpp
Classes Inherited Code Medium 30 Solution.cpp
Classes Exceptional Server Medium 30 Solution.cpp
Classes Abstract Classes - Polymorphism Hard 60 Solution.cpp
STL Vector-Sort Easy 10 Solution.cpp
STL Lower Bound-STL Easy 15 Solution.cpp
STL Sets-STL Easy 15 Solution.cpp
STL Maps-STL Easy 15 Solution.cpp
STL Deque-STL Medium 50 Solution.cpp
Inheritance Inheritance Introduction Easy 20 Solution.cpp
Inheritance Rectangle Area Easy 25 Solution.cpp
Inheritance Multi Level Inheritance Easy 25 Solution.cpp
Inheritance Accessing Inherited Functions Medium 30 Solution.cpp
Other Concepts C++ Class Templates Easy 20 Solution.cpp
Other Concepts Preprocessor Solution Easy 25 Solution.cpp
Other Concepts Overload Operators Easy 30 Solution.java

Python

Subdomain Challenge Difficulty Score Solution
Introduction Say "Hello, World!" With Python Easy 5 Solution.py
Introduction Python If-Else Easy 10 Solution.py
Introduction Arithmetic Operators Easy 10 Solution.py
Introduction Python: Division Easy 10 Solution.py
Introduction Loops Easy 10 Solution.py
Introduction Write a function Medium 10 Solution.py
Introduction Print Function Easy 20 Solution.py

Distributed Systems

Subdomain Challenge Difficulty Score Solution
Multiple Choise RPC - 1 Easy 10 Solution.txt
Multiple Choise RPC - 2 Easy 10 Solution.txt
Multiple Choise Clients and Servers Easy 10 Solution.txt
Multiple Choise Distributed Objects - 1 Easy 10 Solution.txt
Multiple Choise Distributed Objects - 2 Easy 10 Solution.txt
Multiple Choise Distributed Objects - 3 Easy 10 Solution.txt
Multiple Choise Distributed Objects - 4 Easy 10 Solution.txt
Multiple Choise Distributed Objects - 5 Easy 10 Solution.txt
Multiple Choise MapReduce - 2 Easy 10 Solution.txt
Multiple Choise MapReduce - 3 Easy 10 Solution.txt
MapReduce Basics Relational MapReduce Patterns #1 - Intersections Medium 25 Solution.java
MapReduce Basics Relational MapReduce Patterns #2 - Selections Easy 25 Solution.java

Mathematics

Subdomain Challenge Difficulty Score Solution
Fundamentals Find the Point Easy 5 Solution.java
Fundamentals Maximum Draws Easy 5 Solution.java
Fundamentals Handshake Easy 10 Solution.cpp
Fundamentals Minimum Height Triangle Easy 10 Solution.cpp
Fundamentals Army Game Easy 10 Solution.cpp
Fundamentals Connecting Towns Easy 10 Solution.java
Fundamentals Cutting Paper Squares Easy 15 Solution.java
Number Theory Constructing a Number Easy 15 Solution.java
Algebra Combo Meal Easy 15 Solution.java
Geometry Points On a Line Easy 10 Solution.java
Linear Algebra Foundations Linear Algebra Foundations #1 - Matrix Addition Easy 2 Solution.txt
Linear Algebra Foundations Linear Algebra Foundations #2 - Matrix Subtraction Easy 2 Solution.txt
Linear Algebra Foundations Linear Algebra Foundations #3- Matrix Multiplication Easy 2 Solution.txt
Linear Algebra Foundations Linear Algebra Foundations #4- Matrix Multiplication Easy 2 Solution.txt
Linear Algebra Foundations Linear Algebra Foundations #5 - The 100th Power of a Matrix Medium 5 Solution.txt
Linear Algebra Foundations Linear Algebra Foundations #9 - Eigenvalues Hard 5 Solution.txt
Linear Algebra Foundations Linear Algebra Foundations #10 - Eigenvectors Medium 5 Solution.txt
Linear Algebra Foundations Determinant of the matrix #1 Medium 5 Solution.txt
Linear Algebra Foundations Determinant of the matrix #2 Hard 5 Solution.txt
Linear Algebra Foundations Determinant of the matrix #3 Medium 5 Solution.txt
Linear Algebra Foundations Eigenvalue of a Matrix I Hard 5 Solution.txt
Linear Algebra Foundations Eigenvalue of matrix #2 Hard 5 Solution.txt
Linear Algebra Foundations Eigenvalue of matrix #3 Hard 5 Solution.txt
Linear Algebra Foundations Eigenvalue of matrix #4 Hard 5 Solution.txt

Artificial Intelligence

Subdomain Challenge Difficulty Score Solution
Probability & Statistics - Foundations Day 2: Basic Probability Puzzles #1 Easy 2 Solution.txt
Probability & Statistics - Foundations Day 2: Basic Probability Puzzles #2 Easy 2 Solution.txt
Probability & Statistics - Foundations Day 2: Basic Probability Puzzles #3 Easy 5 Solution.txt
Probability & Statistics - Foundations Day 2: Basic Probability Puzzles #4 Easy 5 Solution.txt
Probability & Statistics - Foundations Day 3: Basic Probability Puzzles #5 Medium 5 Solution.txt
Probability & Statistics - Foundations Day 3: Basic Probability Puzzles #6 Medium 5 Solution.txt
Probability & Statistics - Foundations Day 3: Basic Probability Puzzles #8 Hard 5 Solution.txt
Probability & Statistics - Foundations Basic Probability Puzzles #9 Medium 5 Solution.txt
Probability & Statistics - Foundations Basic Probability Puzzles #10 Medium 5 Solution.txt

Linux Shell

Subdomain Challenge Difficulty Score Solution
Bash Let's Echo Easy 1 Solution.txt
Bash Looping and Skipping Easy 2 Solution.txt
Bash A Personalized Echo Easy 1 Solution.txt
Bash Looping with Numbers Easy 2 Solution.txt
Bash The World of Numbers Easy 2 Solution.txt
Bash Comparing Numbers Easy 3 Solution.txt
Bash Getting started with conditionals Easy 3 Solution.txt
Text Processing Cut #1 Easy 1 Solution.txt
Text Processing Cut #2 Easy 1 Solution.txt
Text Processing Cut #3 Easy 1 Solution.txt
Text Processing Cut #4 Easy 1 Solution.txt
Text Processing Cut #5 Easy 1 Solution.txt
Text Processing Cut #6 Easy 1 Solution.txt
Text Processing Cut #7 Easy 1 Solution.txt
Text Processing Cut #8 Easy 1 Solution.txt
Text Processing Cut #9 Easy 1 Solution.txt
Text Processing Head of a Text File #1 Easy 2 Solution.txt
Text Processing Head of a Text File #2 Easy 2 Solution.txt
Text Processing Middle of a Text File Easy 3 Solution.txt
Text Processing Tail of a Text File #1 Easy 2 Solution.txt
Text Processing Tail of a Text File #2 Easy 2 Solution.txt
Text Processing 'Tr' Command #1 Easy 1 Solution.txt
Text Processing 'Tr' Command #2 Easy 1 Solution.txt
Text Processing 'Tr' Command #3 Easy 1 Solution.txt
Text Processing Sort Command #1 Easy 1 Solution.txt
Text Processing Sort Command #2 Easy 1 Solution.txt
Text Processing Sort Command #3 Easy 1 Solution.txt
Text Processing Sort Command #4 Easy 1 Solution.txt
Text Processing Sort Command #5 Easy 1 Solution.txt
Text Processing 'Sort' command #6 Easy 1 Solution.txt
Text Processing 'Sort' command #7 Easy 1 Solution.txt
Text Processing 'Uniq' Command #1 Easy 1 Solution.txt
Text Processing 'Uniq' Command #2 Easy 1 Solution.txt
Text Processing 'Uniq' command #4 Easy 1 Solution.txt
Grep Sed Awk 'Grep' #1 Medium 2 Solution.txt
Grep Sed Awk 'Grep' #2 Medium 2 Solution.txt
Grep Sed Awk 'Grep' #3 Medium 2 Solution.txt
Grep Sed Awk 'Grep' - A Easy 2 Solution.txt
Grep Sed Awk 'Grep' - B Easy 2 Solution.txt
Grep Sed Awk 'Sed' command #1 Medium 2 Solution.txt
Grep Sed Awk 'Sed' command #2 Medium 2 Solution.txt
Grep Sed Awk 'Sed' command #3 Easy 2 Solution.txt

Sql

Subdomain Challenge Difficulty Score Solution
Basic Select Revising the Select Query I Easy 10 Solution.txt
Basic Select Revising the Select Query II Easy 10 Solution.txt
Basic Select Select All Easy 10 Solution.txt
Basic Select Select By ID Easy 10 Solution.txt
Basic Select Japanese Cities' Attributes Easy 10 Solution.txt
Basic Select Japanese Cities' Names Easy 10 Solution.txt
Basic Select Weather Observation Station 1 Easy 15 Solution.txt
Basic Select Weather Observation Station 3 Easy 10 Solution.txt
Basic Select Weather Observation Station 4 Easy 10 Solution.txt
Basic Select Weather Observation Station 5 Easy 30 Solution.txt
Basic Select Weather Observation Station 6 Easy 10 Solution.txt
Basic Select Weather Observation Station 7 Easy 10 Solution.txt
Basic Select Weather Observation Station 8 Easy 15 Solution.txt
Basic Select Weather Observation Station 9 Easy 10 Solution.txt
Basic Select Weather Observation Station 10 Easy 10 Solution.txt
Basic Select Weather Observation Station 11 Easy 15 Solution.txt
Basic Select Weather Observation Station 12 Easy 15 Solution.txt
Basic Select Higher Than 75 Marks Easy 15 Solution.txt
Basic Select Employee Names Easy 10 Solution.txt
Basic Select Employee Salaries Easy 10 Solution.txt
Aggregation Revising Aggregations - The Count Function Easy 10 Solution.txt
Aggregation Revising Aggregations - The Sum Function Easy 10 Solution.txt
Aggregation Revising Aggregations - Averages Easy 10 Solution.txt
Aggregation Average Population Easy 10 Solution.txt
Aggregation Japan Population Easy 10 Solution.txt
Aggregation The Blunder Easy 15 Solution.txt
Aggregation Top Earners Easy 20 Solution.txt
Aggregation Weather Observation Station 2 Easy 15 Solution.txt
Aggregation Weather Observation Station 13 Easy 10 Solution.txt
Aggregation Weather Observation Station 15 Easy 15 Solution.txt
Aggregation Weather Observation Station 16 Easy 10 Solution.txt
Aggregation Weather Observation Station 17 Easy 15 Solution.txt
Basic Join Asian Population Easy 10 Solution.java
Basic Join African Cities Easy 10 Solution.java
Basic Join Average Population of Each Continent Easy 10 Solution.java

License

Licensed under MIT.

About

πŸ’ Solution to HackerRank problems

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 78.6%
  • C++ 16.5%
  • Haskell 4.3%
  • Other 0.6%