Skip to content

Aminadav/HackerRank

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HackerRank

My solutions to HackerRank challenges.

JavaScript, Python and Go.

You can see my profile here: https://www.hackerrank.com/AminadavG.

All solution here created by me. I have tried to make the most optimal solutions. All of them are less than O(n^2). Most of them are O(n) / O(log n) or even O(1).

Table of Content:


Algorithms

Easy

Simple Array Sum [JavaScript]

Compare the Triplets [JavaScript]

A Very Big Sum [JavaScript]

Diagonal Difference [Go]

Plus Minus [Go]

Staircase [Go]

Mini Max Sum [Go]

Time Conversion [Go]

Designer PDF Viewer [Go]

Circular Array Rotation [Go]

Tutorial Intro [Go]

Insertion Sort Part I [JavaScript]

Insertion Sort Part II [JavaScript]

Running time of Alogirthm [JavaScript]

Quicksort


Data Structure

Array:

Array [Go]

2D Array [Go]

Dynamic Array [Go]

Array Left Rotation [Go]

Sparse Arrays [Go]

Crush [JavaScript]

Linked List:

Linked List: Print the Elements [JavaScript]

Linked Lists: Insert element at the tall [JavaScript]

Linked List: Inesrt Element at the Head [JavaScript]

Linked List: Insert Element at Specific Position [JavaScript]

Linked List: Delete A Node [JavaScript]

Linked List: Print in reverse [JavaScript]

Linked List: Reverse [JavaScript]

Linked List: Compare [JavaScript]

Linked List: Merge two sorted Linked List [JavaScript]

Linked List: Get value at specific position from the tail [JavaScript]

Linked List: Delete Duplicated Value from a sorted linked list [JavaScript]

Linked List: Detect Whether a Linked List Contains a Cycle [C++]

Linked List: Find Merge Point [C++]

Doubly Linked List:

Doubly Linked List: Insert a Node [JavaScript]

Doubly Linked List: Reverse [Python]

Tree:

Tree: Preorder Travelsal [Python]

Tree: Inorder Travelsal [Python]

Tree: Height of Binary Tree [Python]


Medium

Sparse Arrays [Go]

Detect Whether a Linked List Contains a Cycle [C++]

Non Divisible Subset [JavaScript]

Extra Long Factoriqal [Go]

Forming a Magic Square [JavaScript]

Climbing The Leaderboard [JavaSCript]

Organizing Containers of Balls [Python]

Organizing Containers of Balls [Python]

Encryption [Python]

Queen's Attack II [Python]


Hard

Crush [JavaScript]

About

My solutions to HackerRank

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published