Giter Site home page Giter Site logo

hackclubrait / wizard-of-docs Goto Github PK

View Code? Open in Web Editor NEW
19.0 0.0 42.0 244 KB

A open source project to bring all the data structures and algorithms docs under one repository.

License: MIT License

hacktoberfest documentation dsa-algorithm cpp python java dsalgo hacktoberfest2021

wizard-of-docs's Introduction

Wizard-Of-Docs

An open source project to bring all the data structures and algorithms docs under one repository.

Data Structures are the main part of many computer science algorithms as they enable the programmers to handle the data in an efficient way.


What is the type of contribution?

  1. Contribution to this repository is going to be in the form of documentation

  2. Preferred language should be English

  3. The documentation should be clear, consise and complete

  4. The starting letter of every word should be in uppercase, do not use spaces or hyphen(-), instead use underscore (_) to join words

  5. There are two separate folders to contribute data-structures & algorithms respectively

  6. Make sure the issue you are creating does not exist or is merged already,issue can be created to write the same code with different logic in different languages (but not the theoritical part)

How to contribute?

1. Fork this repository.

2. Clone your forked copy of the project.

git clone https://github.com/<your_name>/Wizard-Of-Docs

3. Navigate to the project directory 📁 .

cd Wizard-Of-Docs

4. Add a reference(remote) to the original repository.

git remote add upstream https://github.com/HackClubRAIT/Wizard-Of-Docs

5. Check the remotes for this repository.

git remote -v

6. Always take a pull from the upstream repository to your master branch to keep it at par with the main project(updated repository).

git pull upstream main

7. Create a new branch.

git checkout -b <your_branch_name>

8. Perform your desired changes to the code base.

9. Track your changes:heavy_check_mark: .

git add . 

10. Commit your changes .

git commit -m "Relevant message"

11. Push the committed changes in your feature branch to your remote repo.

git push -u origin <your_branch_name>

12. To create a pull request, click on compare and pull requests. Please ensure you compare your feature branch to the desired branch of the repository you are supposed to make a PR to.

13. Add appropriate title and description to your pull request explaining your changes and efforts done.

14. Click on Create Pull Request.

15 Voila! You have made a PR to the Wizard-Of-Docs. Sit back patiently and relax while your PR is reviewed.


Project Contributors



This repository is a part of the following Open Source Program:

Hack Club RAIT

1632670084686

wizard-of-docs's People

Contributors

akankshaa02 avatar aryangarg03 avatar ashmeet-ashmeet avatar asmitbm avatar chaitalishetty avatar das-jishu avatar girija0707 avatar gundasudarrshan avatar imobasshir avatar itsme-aparna avatar koustavjr avatar kshitija-2001 avatar mayankkaushik187 avatar mayur295 avatar neelshah2409 avatar neerajanand321 avatar prasanna16-12 avatar priyanshugarg26 avatar purva2906 avatar sharayu1071 avatar sid-am-ahd935 avatar siddhi-244 avatar soumya-kushwaha avatar surjyaneeh avatar sushant731 avatar tamalcodes avatar td-17 avatar vedsom avatar vijeta-2000 avatar vikas-kmr1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wizard-of-docs's Issues

Kadane’s Algorithm

Description

explanation of Kadane’s Algorithm - find the sum of contiguous subarray in a 1-D array of numbers that has the largest sum.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Documentation for Quick Sort Algorithm

Description

Describe more about the issue.
Code to sort an array using Quick Sort Algorithm(C++).

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

HactoberFest


Enhancing the Issue and Pull Request Templates

Description

  • Would like to update the Issue and Pull Request templates so that it becomes easier.

Programming language

  • Others

Are you contributing under any open-source program ?

  • Hacktoberfest

quickselect algoithm

Description

Describe more about the issue.
Quickselect is a selection algorithm to find the k-th smallest element in an unordered list. It is related to the quick sort sorting algorithm.The difference is, instead of recurring for both sides (after finding pivot), it recurs only for the part that contains the k-th smallest element.

Programming language

  • Python

Are you contributing under any open-source program ?

hacktoberfest


queue data structure using array

Description

What is Queue Data Structure

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


print_right_view _of_a_tree

Description

input is given in form of an array abt the structure of tree and -1 if no child nodes are present.
program is written to print the right most view of the tree in form of an array.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest21


Kindly assign this task to me

breadth first search algorithm

Description

implementing heap sort in C

Programming language

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

Are you contributing under any open-source program ?

hacktoberfest


Fenwick_Tree.cpp

Description

Program to implement Fenwick tree

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Insertion Sort

Description

This is a code to sort an array with the help of insertion sort

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Add Selection Sort Algorithm

Description

Hi! I want to add Selection sort algorithm to this repo. The idea behind this algorithm is to sorts an array by repeatedly finding the minimum element (considering ascending order) from the unsorted part and putting it at the beginning.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program?
I am participating in Hacktoberfest 2021.

Recursive Algorithms

Description

Describe more about the issue.
A documentation on analysis of recursive algorithms

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program?

hacktoberfest


Cyclic sort java

add cyclic sort

algorithm, code and example problems with intuition on cyclic sort

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


Merge Sort

Description

Merge Sort is a Divide and Conquer algorithm.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Prim's Algorithm

Description

I would like to explain it with best if my knowledge.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?


Add Binary search tree documentation

Description

Step by step explanation of Search, Insertion, Deletion in Binary Search Trees with clean and concise code and complexity analysis(Both time and space complexity)

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest 2021


binary search

Description

Describe more about the issue.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Asymptotic Notations

Description

Describe more about the issue.
The basics of Algorithms can't be understood without the Asymptotic Notations. Any Beginner needs to first understand the time complexity and space complexity before starting to learn the algorithms

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?


Breadth First Search

// Java program to print BFS traversal from a given source vertex.
// BFS(int s) traverses vertices reachable from s.
import java.io.;
import java.util.
;

// This class represents a directed graph using adjacency list
// representation
class Graph
{
private int V; // No. of vertices
private LinkedList adj[]; //Adjacency Lists

// Constructor
Graph(int v)
{
	V = v;
	adj = new LinkedList[v];
	for (int i=0; i<v; ++i)
		adj[i] = new LinkedList();
}

// Function to add an edge into the graph
void addEdge(int v,int w)
{
	adj[v].add(w);
}

// prints BFS traversal from a given source s
void BFS(int s)
{
	// Mark all the vertices as not visited(By default
	// set as false)
	boolean visited[] = new boolean[V];

	// Create a queue for BFS
	LinkedList<Integer> queue = new LinkedList<Integer>();

	// Mark the current node as visited and enqueue it
	visited[s]=true;
	queue.add(s);

	while (queue.size() != 0)
	{
		// Dequeue a vertex from queue and print it
		s = queue.poll();
		System.out.print(s+" ");

		// Get all adjacent vertices of the dequeued vertex s
		// If a adjacent has not been visited, then mark it
		// visited and enqueue it
		Iterator<Integer> i = adj[s].listIterator();
		while (i.hasNext())
		{
			int n = i.next();
			if (!visited[n])
			{
				visited[n] = true;
				queue.add(n);
			}
		}
	}
}

// Driver method to
public static void main(String args[])
{
	Graph g = new Graph(4);

	g.addEdge(0, 1);
	g.addEdge(0, 2);
	g.addEdge(1, 2);
	g.addEdge(2, 0);
	g.addEdge(2, 3);
	g.addEdge(3, 3);

	System.out.println("Following is Breadth First Traversal "+
					"(starting from vertex 2)");

	g.BFS(2);
}

}
// This code is contributed by Aakash Hasija

Order Agnostic Binary Search

Description

Describe more about the issue.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


pre-order-tree-traversal

Description

pre-order-tree-traversal

Programming language

  • Python
  • C
  • C++
  • Java

Are you contributing under any open-source program ?

yes


DFS algorithm

Description

Describe more about the issue.
The DFS algorithm is a recursive algorithm that uses the idea of backtracking. It involves exhaustive searches of all the nodes by going ahead, if possible, else by backtracking.

Here, the word backtrack means that when you are moving forward and there are no more nodes along the current path, you move backwards on the same path to find nodes to traverse. All the nodes will be visited on the current path till all the unvisited nodes have been traversed after which the next path will be selected.

Programming language

  • C++

Are you contributing under any open-source program ?


binary search algorithm

Description

binary search algorithm

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


DSA-Array-Python-Merge Intervals

Description of the change

Adding a python program for hactoberfest 2021

Domain of Docs

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

Are you contributing under any open-source program ?


Linear Search

Description

In algorithms folder inside Searching Algorithms folder create a file Linear_Search.md. Explain linear Search with examples as well as code in your preferred language.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


linear search

Description

Describe more about the issue.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Introduction_to_Dynamic_Programming

Description

Creating an Introduction_to_Dynamic_Programming.md file with some standard DP problems.
Documenting whole approach of reaching from a brute force recursive solution to converting it into memoized solution and finally coming up with the iterative approach

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?


Binary search Tree

Description

I would like to work on contribute towards operations in a binary search tree

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Contributing in hacktoberfest 2021


Want to add Some Arrays files : )

Description

Hashing_with_arrays.cpp
Spiral Order Matrix.cpp
nextgreatorelement.cpp
union of two sorted arrays.cpp

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Linear search

Description

Linear search .

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Singly linked list

Description

I would like to add a menu-driven program on operations on SLL

Operations include:

  • Insertion/deletion at the beginning
  • Insertion/deletion at end
  • Insertion/deletion at specified node
  • Searching the given element'
  • display the list

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program?

hacktoberfest


Binary Search

Description

Binary Search

Programming language

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

Are you contributing under any open-source program ?

Hacktoberfest


Floyd-Warshall Algorithm.c

Program in C to use the Floyd-Warshall Algorithm to find out the shortest path between every pair of nodes in the graph. Then take 2 nodes as input and find out the path between them as well as the path length.

  • C

Are you contributing under any open-source program ?
hacktoberfest

Subarray

Description of the change

Introduction to subarray and subsequence in Array folder.
With full Explanation.

Domain of Docs

  • C
  • C++
  • Python
  • Java

Are you contributing under any open-source program ?

Hacktoberfest


Selection sort

Description

explanation of selection sort in java

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Selection Sort Algorithm

Description

Algorithm of selection sort

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


Level order traversal of a binary tree

Description

Hi. I want to add a program that prints the level order traversal of a binary tree

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program?

Hacktoberfest


Documentation for Merge Sort Algorithm

Description

Code to sort an array using merge sort algorithm.

Programming language

  • C
  • C++

Are you contributing under any open-source program ?

Hacktoberfest


Binary Search Algorithm in Java

Description

Describe more about the issue.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


Merge sort documentation

Description

I will try to understand merge sort in the best way.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?


Tree Traversal Inorder

Description

Tree Traversal Inorder

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Bubble sort java

Description

Hi. I want to add a program bubble sort in java

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?


Backtracking Documentation

Description

  • Would like to contribute documentations for Backtracking

Programming language

  • C++

Are you contributing under any open-source program ?

  • Hacktoberfest

Linked List

Description

Creating Linkedlist.md file with detailed explanation in Data Structures folder

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?


hacktoberfest

Stack data structure using array

Description

Stack Data structure implemented using array.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

hacktoberfest


Intro to Arrays

Description

Inside arrays folder create a doc named Intro_to_Arrays.md.
Add syntax to declare an array in your preferred languages. Add examples as well.

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program ?

Hacktoberfest


Add Bubble Sort algorithm

Description

Hi! I am willing to add a bubble sorting algorithm to this repo. The concept of bubble sort is to compare each adjacent pair of elements and swap them if they don't follow the order. While bubble sort is not an efficient way of sorting, it is one of the most classical approaches to sorting.

Example:
Input: [2, 9, 4, 1, 0]
Output: [0, 1, 2, 4, 9]

Expected time complexity: O(N^2), where N is the number of elements in the input array.
Expected space complexity: O(1)

Programming language

  • C
  • C++
  • Java
  • Python

Are you contributing under any open-source program?

I am participating in Hacktoberfest 2021. Hence, I am contributing to this repo as a part of it. 😄


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.