Solutions of HackerRank problems.

Overview

HackerRank-Solutions

This repository consists of all the HackerRank projects or challenges completed by me and contributed by others. (Updating regularly)

forthebadge forthebadge

About HackerRank

HackerRank is a technology company that focuses on competitive programming challenges for both consumers and businesses, where developers compete by trying to program according to provided specifications. Visit HackerRank here.

See my HackerRank profile here: https://www.hackerrank.com/kvaibhav01?hr_r=1

Comments
  • Add problem description

    Add problem description

    Currently, the repo only contains solution's problems but are not descriptive. You can add a README.md file describing the problem or solution (if possible) in detail.

    enhancement help wanted hacktoberfest 
    opened by Kvaibhav01 4
  • Solution for BST related question

    Solution for BST related question

    Your device hardware:

    Issue details: Given the root node of a binary tree, can you determine if it's also a binary search tree? Complete the function which has parameter: a pointer to the root of a binary tree. It must return a boolean denoting whether or not the binary tree is a binary search tree. You may have to write one or more helper functions to complete this challenge.

    boolean checkBST(Node root) { return checkBSTUtil(root, null, null); } private boolean checkBSTUtil(Node root, Node min, Node max){ if(root == null){ return true; } if(min != null && min.data >= root.data){ return false; } if(max != null && root.data >= max.data){ return false; } return checkBSTUtil(root.left, min, root) && checkBSTUtil(root.right, root, max); }

    Log (optional):

    opened by kapishmalik 2
  • Create Insert_tail.java

    Create Insert_tail.java

    Working solution for Insert a node at the tail of linked list - https://www.hackerrank.com/challenges/insert-a-node-at-the-tail-of-a-linked-list/problem?isFullScreen=false

    opened by aayushbhan 1
  • Restyle Update Java BigDecimal.java

    Restyle Update Java BigDecimal.java

    A duplicate of #41 with additional commits that automatically address incorrect style, created by Restyled.

    Since the original Pull Request was opened as a fork in a contributor's repository, we are unable to create a Pull Request branching from it with only the style fixes.

    The following Restylers made fixes:

    • clang-format

    To incorporate these changes, you can either:

    1. Merge this Pull Request instead of the original, or

    2. Ask your contributor to locally incorporate these commits and push them to the original Pull Request

      Expand for example instructions
      ```console
      git remote add upstream https://github.com/Kvaibhav01/HackerRank-Solutions.git
      git fetch upstream pull/<this PR number>/head
      git merge --ff-only FETCH_HEAD
      git push
      ```
      

    NOTE: As work continues on the original Pull Request, this process will re-run and update (force-push) this Pull Request with updated style fixes as necessary. If the style is fixed manually at any point (i.e. this process finds no fixes to make), this Pull Request will be closed automatically.

    Sorry if this was unexpected. To disable it, see our documentation.

    opened by restyled-io[bot] 0
  • Commit new solution files for Data Structures

    Commit new solution files for Data Structures

    Visit HackerRank's Data Structures website, visit the subdomains and commit new problem solutions at the repo's Data Structures folder.

    Rules:

    1. Solutions must be correct (obviously), I will review them before merging.
    2. The solution's directory path must be according to the subdomain HackerRank provides for Data Structures. Example: /Data Structures/Subdomain name/Solution.java or /Data Structures/Subdomain name/RelevantFileName.java
    3. Code can be done in any preferred language but Java and JavaScript are recommended. Someone who provides the solution in Kotlin/PHP (or any other language except recommended ones) will be considered later.
    4. Code should be formatted properly. Unformatted code will be disregarded.
    5. The solution you submit should be of your own.
    help wanted 
    opened by Kvaibhav01 4
  • Add problem description for 10 Days of Statistics

    Add problem description for 10 Days of Statistics

    Currently, there is no problem description file for 10 Days of Statistics.

    Add a README.md file for each day problem explaining how to solve the issue, and if possible what the solution code means.

    Example: For Day 0: Mean, Median and Mode, add the README file that explains above so that we have two files in the Day 0 folder; one of the actual solution and second the README file.

    help wanted 
    opened by Kvaibhav01 0
Owner
Vaibhav Khulbe
Freelance web developer/designer/blogger | I write stories @thepracticaldev and @dailydotdev
Vaibhav Khulbe
This repo contains my solutions to some data structures and algorithms problems on leetcode.

DSA Playground This repository contains solutions to dsa problems in kotlin. NOTE: This file will get long, please consider using <Ctrl>F DSA With Kun

Hardik Sachan 2 Dec 9, 2021
Kotlin Examples Problems

Kotlin Examples Problems --->>> Repo: Getting Started Kotlin <<<--- --->>> Repo Kotlin Koans <<<--- --->>> Repo: GameBoy Emulator Enviroment <<<--- --

Victor Bolinches 22 Oct 3, 2022
Ninety-Nine Problems in Kotlin

Ninety-Nine Kotlin Problems Table of Contents Introduction Lists Arithmetic Logic and Codes Binary Trees Multiway Trees Graphs Miscellaneous Introduct

Dmitry Kandalov 618 Nov 30, 2022
Advent of Code 2021 in Kotlin, solved by myself. Focus on code readability. With GitHub Actions all puzzles are executed and their solutions printed

Advent of Code 2021 in Kotlin Focus on Code Readability. With CI Solution Printing. Welcome to the Advent of Code1 Kotlin project created by michaeltr

Michael Troger 1 Dec 12, 2021
Solutions to Hackerrank and CoderByte practice problems

Solutions to Hackerrank and CoderByte practice problems This repository contains solutions to CoderByte and Hackerrank practice problems with Kotlin.

Mert Toptas 2 Jul 5, 2022
LeeCo is an awesome app for (including unlock) problems, solutions, discuss(from leetcode) and comments.

LeeCo LeeCo is an awesome app for algorithem problems(including unlock), solutions, discuss(from leetcode) and comments. #中文文档 README-ZH.md #Download

Nightonke 487 Nov 25, 2022
AbstractMvp 0.8 0.0 Kotlin is a library that provides abstract components for MVP architecture realization, with problems solutions that are exist in classic MVP.

MinSDK 14+ AbstractMvp AbstractMvp is a library that provides abstract components for MVP architecture realization, with problems solutions that are e

Robert 12 Apr 5, 2022
Repo: Programming problems with solutions in Kotlin to help avid Kotlin learners to get a strong hold on Kotlin programming.

Kotlin_practice_problems Repo: Programming problems with solutions in Kotlin to help avid Kotlin learners to get a strong hold on Kotlin programming.

Aman 0 Oct 14, 2021
This repo contains my solutions to some data structures and algorithms problems on leetcode.

DSA Playground This repository contains solutions to dsa problems in kotlin. NOTE: This file will get long, please consider using <Ctrl>F DSA With Kun

Hardik Sachan 2 Dec 9, 2021
Design patterns are typical solutions to common problems in software design

Design patterns are typical solutions to common problems in software design. Each pattern is like a blueprint that you can customize to solve a particular design problem in your code.

hamid 4 Aug 30, 2022
Kotlinandroid - HackerRank Kotlin Android

HackerRank Kotlin Android Build and Run Project Click: Run > Build & Run Relevan

kiruthika 0 Feb 11, 2022
Kotlin Examples Problems

Kotlin Examples Problems --->>> Repo: Getting Started Kotlin <<<--- --->>> Repo Kotlin Koans <<<--- --->>> Repo: GameBoy Emulator Enviroment <<<--- --

Victor Bolinches 22 Oct 3, 2022
Ninety-Nine Problems in Kotlin

Ninety-Nine Kotlin Problems Table of Contents Introduction Lists Arithmetic Logic and Codes Binary Trees Multiway Trees Graphs Miscellaneous Introduct

Dmitry Kandalov 618 Nov 30, 2022
An Android library that solves a lot of Android's Bluetooth Low Energy problems

A library that makes working with Bluetooth LE on Android a pleasure. Seriously.

Nordic Semiconductor 1.4k Jan 7, 2023
This is a sample app to use [Molecule library] and solve some scoping problems in Android development.

Android sample app Problem It's started when P.Y. in Twitter shared this tweet and his post, which is a correct complain about introducing a new set o

Hadi 37 Oct 28, 2022
Medich is an application that raises the problem of satisfaction related to BPJS, especially in the lower classes, with Medich being able to solve all these problems

Medich is an application that raises the problem of satisfaction related to BPJS, especially in the lower classes, with Medich being able to solve all these problems. Medich has a Donation feature that will be very useful for the Community

Zainul 5 Dec 18, 2022
A library for image manipulation with power of renderScript which is faster than other ordinary solutions.

Pixl is a library for image manipulation with power of renderScript which is faster than other ordinary solutions, currently it includes three basic scripts, brightness, contrast, saturation.

Jibran Iqbal 20 Jan 23, 2022
My Advent of Code solutions written in Kotlin

AOC21 My Advent of Code solutions written in Kotlin Why Kotlin? I think Kotlin is a really suitable language for Advent of Code, because it handles li

Chris 2 Dec 14, 2021
Koltin solutions for the 2021 edition of AoC

AdventOfCode2021 This is the code developed for Advent of Code 2021. My primary goals are: have fun learn something new about Kotlin don't spend more

Norbert Kiesel 0 Dec 1, 2021
My solutions for Advent of Code 2021 puzzles, mainly using Kotlin.

Advent of Code 2021 Featuring Kotlin What's that ? https://adventofcode.com/2021/about Advent of Code is an Advent calendar of small programming puzzl

Petrole 0 Dec 2, 2021