Giter Club home page Giter Club logo

dsa-playyard's Issues

5. Reveal Cards in increasing order (QUEUE)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in QUEUES -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
Video

Given an array and a number x, find the pair in array whose sum is closest to x

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end add testcases as well
  • if possible, add time and space complexity
  • kindly upload your code in Arrays -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

5.Count total set bits from 1 to N (BIT-MANIPULATON)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

add some badges to the README

Description

Add some badges to the top of readme.md file, since the badges will be colorful and more attractive at the top of README.md file than the text the users will like it and after linking the badges it will also help the users to navigate to different sections/ webpages like PRs, issues, contributors, etc.

image

Solution

I will add some badges at the top and also will add links related to them so that the README.md file will look more interactive and awesome.

Work under/as

  • LGMSOC
  • Contributor

find k’th Smallest and Largest Element in Unsorted Array

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Arrays -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

3. Implement Stack using Queue (QUEUE)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in QUEUES -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
Video

Trapping Rain Water

Aim

Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.

##Details

3

Programing language

  • C
  • C++
  • Java
  • Python

2.Count set bits in a number (BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation-> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

6. Check wether a number is power of four(BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation--> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
https://www.youtube.com/watch?v=Ff38VOjv1no&feature=youtu.be

Rain Water Trapping

This is a hard level problem but an important concept. This problem is asked in almost every interview and coding rounds. I would like to contribute my solution using java languge to this problem. Kindly assign me this issue under lgmsoc tag.
@mentors @rohan-kulkarni-25 @Sargam-Agarwal

3.Check wether a number is power of two or not (BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

1. Symmetric Tree(TREES)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in TREES -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.

https://youtu.be/qXeaN_ZVVIc

2.Merge Two sorted linked list (LINKED LIST)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Linked List -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

find the first duplicate element in a given array of integers

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Arrays -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

4. Number of Students Unable to eat Lunch (QUEUE)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in QUEUES -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
Video

1. Number of good pairs (HASHTABLE)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in HASHTABLE -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
Video

Determine if a binary tree is height-balanced

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Binary Trees -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

5. Number Complement (BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation--> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
https://youtu.be/qXeaN_ZVVIc

Remove Nth Node From End of List

Aim

Given the head of a linked list, remove the nth node from the end of the list and return its head.

Details

3

Programing language

  • [ ]
  • C
  • C++
  • Java
  • Python

1. Reverse Linked List (LINKED LIST)

Contribution Guidelines for this question

  • Languages available : C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in LINKED LIST -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

5.Detect Loop in a Linked List (LINKED LIST)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Linked List -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Sort Linked List

This is a standard medium level problem which is mostly asked in interview. Three important concepts of linked list are used to solve this problem. I would like to contribute my solution to this problem using java languge as I am lgmsoc participant. So kindly assign this problem to me under lgmsoc tag. @mentors @Sargam-Agarwal @rohan-kulkarni-25

4. Find the middle Element of a given Linked List (LINKED LIST)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Linked List -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

3.Check wether a number is power of two(BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation- -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
https://youtu.be/qXeaN_ZVVIc

1. Reverse Bits of a Given Binary Number (BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

program to sort the given array

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Arrays -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

4.Counting Bits of a Number(BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation--> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
https://youtu.be/qXeaN_ZVVIc

2. Add Binary Numbers(BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation--> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
https://www.youtube.com/watch?v=qXeaN_ZVVIc

1. Single Number (BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation-> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
https://youtu.be/qXeaN_ZVVIc

Determine whether given tree is binary search tree(BST) or not

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Binary Trees -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

implement tree traversal (iterative method which should include preorder, inorder , postorder)

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Binary Trees -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

1. First Unique Character in a String (QUEUE)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in QUEUES -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
Video

4.Calculate square of a number without using *, / and pow() (BIT-MANIPULATION)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Bit-Manipulation -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

counting the number of nodes present in a binary tree

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Binary Trees -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

Count leaf nodes in a binary tree

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Binary Trees -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

find a pair with highest product from a given array of integers

Contribution Guidelines for this question

  • Languages available : C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add testcases .
  • if possible, add time and space complexity
  • kindly upload your code in Arrays -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

2. Implement Queue using Stack (QUEUE)

Contribution Guidelines for this question

-Languages available: C++, Java, Python
-Well Commented Code
-In the starting, add a brief explanation of the algorithm
-if possible, add time and space complexity
-kindly upload your code in QUEUES -> Language (C++, Java, Python) Folder
-NO PLAGIARISM

Also, watch this video and the README section before contributing to the project.
Video

3.Find Length of a Linked List (LINKED LIST)

Contribution Guidelines for this question

  • Languages available: C++, Java, Python (please do mention in which language you will be implementing)
  • Well Commented Code
  • In the starting, add a brief explanation of the algorithm and at the end, add test cases.
  • if possible, add time and space complexity
  • kindly upload your code in Linked List -> Language (C++, Java, Python) Folder
  • NO PLAGIARISM

CONTRIBUTION

I would to add step by step instructions for the Beginners in the open source with links , resources , sample screenshots and links to download before contribution. Please assign me

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.