Giter VIP home page Giter VIP logo

ds-algo-solutions's Introduction

Join the chat at https://gitter.im/ds-algo-solutions/community

ds-algo-solutions

A collection of solutions for HackerRank data structures and algorithm problems in Python, JAVA, and CPP. This community-owned project aims to bring together the solutions for the DS & Algo problems across various platforms, along with the resources for learning them. Problems from Leetcode will be included soon in the project.

Contribution Instructions

Please add your code with proper comments. Add the code into the exact folder category with the name solution.<extension> . For example, solution.py Please add the link to the README as well. The folder structure Arrays/Left Rotation/solution.java should look like Arrays/Left%20Rotation/solution.java.

HackerRank

HackerRank is a place where programmers from all over the world come together to solve problems in a wide range of Computer Science domains such as algorithms, machine learning, or artificial intelligence, as well as to practice different programming paradigms like functional programming.

Topic Question Difficulty CPP JAVA Python
Arrays
2D Array Easy View
Dynamic Array Easy View View
Left Rotation Easy View View
Sparse Arrays Medium View
Array Manipulation Hard View
Linked Lists
Print the Elements of a Linked List Easy View View View
Insert a node at the head of a linked list Easy View View View
Insert a Node at the Tail of a Linked List Easy View View View
Insert a node at a specific position in a linked list Easy View View View
Delete a Node Easy View View View
Print in Reverse Easy View View
Compare two linked lists Easy View View
Merge two sorted linked lists Easy View View
Get Node Value Easy View View
Reverse a linked list Easy View View View
Delete duplicate-value nodes from a sorted linked list Easy View View View
Find Merge Point of Two Lists Easy View View View
Cycle Detection Easy View
Inserting a Node Into a Sorted Doubly Linked List Easy View
Reverse a doubly linked list Easy View
Stacks
Maximum Element Medium View
Balanced Brackets Medium View View
Equal Stacks Medium View
Largest Rectangle Medium View
Simple Text Editor Medium View
Waiter Medium View
Queues
Queue using Two Stacks Medium View
Castle on the Grid Medium View
Down to Zero II Medium View
Trees
Tree : Top View Easy View
Tree: Preorder Traversal Easy View View
Tree: Inorder Traversal Easy View
Tree: Postorder Traversal Easy View
Tree: Level Order Traversal Easy View
Tree: Height of a Binary Tree Easy View View
Binary Search Tree : Insertion Easy View
Binary Search Tree : Lowest Common Ancestor Easy View
Is This a Binary Search Tree? Medium View
Swap Nodes [Algo] Medium View
Tree: Huffman Decoding Medium View
Algorithms
Grading Students Easy View
Apple and Orange Easy View
Number Line Jumps Easy View
Encryption Medium View
Breaking the Records Easy View
Sales by Match Easy View
Climbing the Leaderboard Medium View
Contest Problems
Squares of a Sorted Array Medium View View

Contribution Guidelines

Go to the HackerRank problem-solving section (https://www.hackerrank.com/domains/data-structures), solve a problem such that it passes all test cases, make a Pull Request with the solution in the respective folder. Feel free to suggest any useful resources for studying ds & algo.e

Also, please explain your code with comments.

ds-algo-solutions's People

Contributors

adityabisoi avatar stormfireuttam avatar prashant-3108 avatar mintuagarwal avatar aarushi11h avatar nivedita967 avatar rishav-iitkgp avatar abhay313 avatar itish-agarwal avatar rsrinath14 avatar tanvie avatar vikhyatsingh123 avatar pratyush25 avatar sakshay-gupta avatar d3xter1922 avatar harikrishnan6336 avatar preyam2002 avatar satyampandeygit avatar aaditya-ag avatar prakhar1144 avatar realshreyas avatar gitter-badger avatar baidi-mannan avatar mustang519 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.