hackerrank-js
hackerrank-js copied to clipboard
Hackerrank problem solving with javascript
Hackerrank-js
Hackerrank Problem Solving with Javascript.
Table of contents
- Available Scripts
-
Problems and Solutions
- 10 Days Of Javascript
- Interview Preparation Kit
- Algorithms
- Data Structures
Available Scripts
In the project directory, you can run:
npm run lint
Runs the linter.
npm run create-readme
Generates the README.md.
Problems and Solutions
10 Days Of Javascript
Day0
Difficulty | Problem | Solution |
---|---|---|
Easy | Data Types | Solution |
Easy | Hello, World! | Solution |
Day1
Difficulty | Problem | Solution |
---|---|---|
Easy | Arithmetic Operators | Solution |
Easy | Functions | Solution |
Easy | Let and Const | Solution |
Day2
Difficulty | Problem | Solution |
---|---|---|
Easy | Conditional Statements: If-Else | Solution |
Easy | Conditional Statements: Switch | Solution |
Easy | Loops | Solution |
Day3
Difficulty | Problem | Solution |
---|---|---|
Easy | Arrays | Solution |
Easy | Throw | Solution |
Easy | Try, Catch, and Finally | Solution |
Day4
Difficulty | Problem | Solution |
---|---|---|
Easy | Classes | Solution |
Easy | Count Objects | Solution |
Easy | Create a Rectangle Object | Solution |
Day5
Difficulty | Problem | Solution |
---|---|---|
Easy | Arrow Functions | Solution |
Easy | Inheritance | Solution |
Easy | Template Literals | Solution |
⬆ back to top
Interview Preparation Kit
Arrays
Difficulty | Problem | Solution |
---|---|---|
Easy | 2D Array - DS | Solution |
Easy | Left Rotation | Solution |
String-Manipulation
Difficulty | Problem | Solution |
---|---|---|
Easy | Alternating Characters | Solution |
Dictionary-and-Hashmap
Difficulty | Problem | Solution |
---|---|---|
Medium | Count Triplets | Solution |
Strings
Difficulty | Problem | Solution |
---|
Warm-up-Challenges
Difficulty | Problem | Solution |
---|---|---|
Easy | Sock Merchant | Solution |
⬆ back to top
Algorithms
Constructive-Algorithms
Difficulty | Problem | Solution |
---|---|---|
Medium | New Year Chaos | Solution |
Implementation
Difficulty | Problem | Solution |
---|---|---|
Easy | Counting Valleys | Solution |
Sorting
Difficulty | Problem | Solution |
---|---|---|
Easy | Big Sorting | Solution |
Easy | Counting Sort 1 | Solution |
Easy | Find the Median | Solution |
Easy | Intro to Tutorial Challenges | Solution |
String
Difficulty | Problem | Solution |
---|---|---|
Easy | Alternating Characters | Solution |
Easy | Caesar Cipher | Solution |
Easy | CamelCase | Solution |
Easy | Funny String | Solution |
Easy | Game of Thrones - I | Solution |
Easy | Gemstones | Solution |
Easy | HackerRank in a String! | Solution |
Easy | Making Anagrams | Solution |
Easy | Mars Exploration | Solution |
Easy | Pangrams | Solution |
Easy | Separate the Numbers | Solution |
Easy | String Construction | Solution |
Easy | Strong Password | Solution |
Easy | Super Reduced String | Solution |
Easy | The Love-Letter Mystery | Solution |
Easy | Two Characters | Solution |
Easy | Two Strings | Solution |
Warmup
Difficulty | Problem | Solution |
---|---|---|
Easy | Compare the Triplets | Solution |
Easy | Mini-Max Sum | Solution |
Easy | Simple Array Sum | Solution |
Easy | Solve Me First | Solution |
⬆ back to top
Data Structures
Arrays
Difficulty | Problem | Solution |
---|---|---|
Medium | Sparse Arrays | Solution |
Greedy
Difficulty | Problem | Solution |
---|---|---|
Easy | Minimum Absolute Difference in an Array | Solution |
Implementation
Difficulty | Problem | Solution |
---|---|---|
Easy | Grading Students | Solution |
LinkedLists
Difficulty | Problem | Solution |
---|---|---|
Easy | Delete duplicate-value nodes from a sorted linked list | Solution |
Easy | Insert a node at a specific position in a linked list | Solution |
Easy | Insert a Node at the Tail of a Linked List | Solution |
Easy | Print the Elements of a Linked List | Solution |
⬆ back to top