Git Product home page Git Product logo

hackerrank-solutions's Introduction

HackerRank-Solutions

Some solutions to HackerRank problems & challenges

Solutions are written in Java 8 (Sadly, no Kotlin support on HackerRank yet)

Click on the green check mark for code of the challenge you are interested in. To read the task click on the link in the "Solution" column (Redirects to HackerRank)


Table of Contents

Challenges

Algorithms

Java

Data Structures


30 Days of Code

Be careful! HackerRank needs the main class to be named "Solution". In my examples the class names are changed for the sake of navigation and readability. Also classes "Inheritance", "Abstract Classes" and "Scope" are not compilable, since those are a part of hidden logic which you had to extend during this task.

Day Challenge Solution Day Challenge Solution
0 Hello, World ✔️ 15 Linked List ✔️
1 Data Types ✔️ 16 Exceptions - String to Integer TBA
2 Operators ✔️ 17 More Exceptions TBA
3 Intro to Conditional Statements ✔️ 18 Queues and Stacks TBA
4 Class vs. Instance ✔️ 19 Interfaces TBA
5 Loops ✔️ 20 Sorting TBA
6 Let's Review ✔️ 21 Generics TBA
7 Arrays ✔️ 22 Binary Search Trees TBA
8 Dictionaries and Maps ✔️ 23 BST Level-Order Traversal TBA
9 Recursion ✔️ 24 More Linked Lists TBA
10 Binary Numbers ✔️ 25 Running Time and Complexity TBA
11 2D Arrays ✔️ 26 Nested Logic TBA
12 Inheritance ✔️ 27 Testing TBA
13 Abstract Classes ✔️ 28 RegEx, Patterns, and Intro to Databases TBA
14 Scope ✔️ 29 Bitwise AND TBA

Algorithms

Warm Up

Challenge Difficulty Solution
1 Solve Me First Easy TBA
2 Simple Array Sum Easy ✔️
3 Compare the Triplets Easy ✔️
4 A Very Big Sum Easy ✔️
5 Diagonal Difference Easy ✔️
6 Plus Minus Easy ✔️
7 Staircase Easy ✔️
8 Mini-Max Sum Easy ✔️
9 Time Conversion Easy ✔️
10 Birthday Cake Candles Easy TBA

Implementation

Challenge Difficulty Solution
1 Grading Students Easy ✔️
2 Sherlock and Watson Easy ✔️
3 Extra Long Factorials Medium ✔️

Strings

Challenge Difficulty Solution
1 CamelCase Easy ✔️
2 Pangrams Easy ✔️

Java


Data Structures

Arrays

Challenge Difficulty Solution
1 Arrays - DS Easy ✔️
2 2D Arrays - DS Easy ✔️
6 Algorithmic Crush Hard ✔️

Queues

Challenge Difficulty Solution
1 Truck Tour Hard ✔️

hackerrank-solutions's People

Watchers

James Cloos avatar Karin-Aleksandra Monoid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.