rathoresrikant / hacktoberfestcontribute Goto Github PK
View Code? Open in Web Editor NEWPlease note that contributions made to this repository are not counted as valid for Hacktoberfest 2021.
License: MIT License
Please note that contributions made to this repository are not counted as valid for Hacktoberfest 2021.
License: MIT License
Details :
Programming language : Any
Directory : Algorithms/ Graph Algorithms
Explanation : Yes
To know more about Ford Fulkerson Algorithm, proceed here.
Cousins of a node in a binary tree are those nodes, which are at the same level (same distance from the root) and don't have the same parent as that of the given node (siblings are not cousins :-) ). Given a binary tree and the key of a node, find the sum of keys of all the cousins of the tree. The keys of the nodes are distinct.
Details :
Programming language : C, C++, Java, Python
Explanation : Yes
Directory : Data Structures/ Trees
Programming language : Any
I would like to work on this.
@rathoresrikant should I go with this?
Add it to the algorithms folder.
Given an array you have to find the second largest element of the array.
PS: Try to do it without sorting.
Details :`
Programming language : Any
Directory : Data Structures
Create a sub folder for heaps.
Given an integer n, print the first n catalan numbers. To know about catalan numbers, proceed here.
Add to the directory : Algorithms/Mathematical Algorithms
Given an unsorted array of elements. Find the majority element in the array. (Use Moore's voting)
Details
Programming Language : Any
Time complexity : Linear
Directory : Algorithms
Originally posted by @Pranay10rawat in #56 (comment)
Problem Statement:
Given a set of non-negative integers, and a value sum, determine if there is a subset of the given set with sum equal to given sum.
I want to work on this issue.
@rathoresrikant should I go with this?
Given a string, if it contains consecutive vowels remove all of them.
e.g.
beautiful -> btiful
github -> github
weaver -> wver
Details :
Programming Language : C/ C++/ Java/ Python
Directory : Algorithms/ Graph Theory
Explanation : Optional
Optimize the running time.
Details
Programming language : C, C++, Java, Python
Directory : Algorithms/ Graph Theory
Expanation : Optional
Add proper names for the codes.
Happy coding !
Problem Statement :
Given a set of non-negative integers, and a value sum, determine if there is a subset of the given set with sum equal to given sum.
Programming language : Any
Details
Programming languages : C, C++, Java, Python
Explanation : Yes
Directory : Data Structures
Please refrain from using plagiarised code. Happy coding !
Details :
Programming language : C, C++, Java, Python
Directory : Algorithms/Dynamic Programming
Time complexity : O(n^2)
Space complexity : Linear
Explanation : Yes
To know more about 0/1 Knapsack Problem proceed here.
Details
Programming languages : C, C++, Java, Python
Explanation : Yes
Directory : Data Structures
Please refrain from using plagiarised code. Happy coding !
Details :
Programming Language : C / C++ / Java / Python
Directory : Algorithms (Create a folder String)
Explanation : Yes
RSA is an algorithm used by modern computers to encrypt and decrypt messages. It is an asymmetric cryptographic algorithm. (Wikipedia)
Details
Programming language : C, C++, Java, Python
Directory : Algorithms
Explanation : Yes
Please comment here to claim the issue. (language specific)
To know more about RSA proceed here .
Details
Programming language : Any
Directory : Algorithms/Mathematical Algorithms
Explanation : Optional
Time complexity : O(1)
Given an unsorted array of n elements. Find the pair of elements having the maximum sum. Also display the sum. The array may contain duplicates.
Details
Programming language : Any
Time complexity : Linear
Directory : Algorithm
Details :
Programming language : C, C++, Java, Python
Directory : Algorithms/ Mathematical Algorithms
An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself.
Details :
Programming language : Any
Directory : Algorithms/Mathematical Algorithms
Given a string that contains many extra spaces between two words. Remove the consecutive space such that there two words are separated by a single white space.
Programming language : Any
Given the head pointer of two linked lists , find whether they intersect or not. They will intersect if both contain atleast one common node.
Details :
Programming language : C, C++, Java
Explanation : Yes
Directory : Data Structures/ Linked lists
#include<stdio.h>
void main()
{
int i, j, temp, n, a[20],min;
printf("Enter the size");
scanf("%d",&n);
printf("Enter the elements:");
for(i=0;i<n;i++)
scanf("%d",&a[i]);
for(i=0;i<n-1;i++)
{
min=i;
for(j=i+1;j<n;j++)
{
if(a[j]<a[min])
min=j;
}
temp=a[i];
a[i]=a[min];
a[min]=temp;
}
printf("Sorted array is:");
for(i=0;i<n;i++)
printf("%d",a[i]);
}
Details :
Programming language : Any
Directory : Algorithms
Explanation : Optional
Programming language : Any
I would like to work on this.
@rathoresrikant should I go with this?
Programming language : Any
I would like to work on this.
@rathoresrikant should I go with this?
Please refrain from using plagiarised code. If you are using someone's code, please add credit.
We have collected many good DS and Algo codes. But "the king of the Algo" is still not there. There are many interesting problems in Max Flow - Min Cost domain. Can i add Max Flow in a undirected graph problem in Graph Domain?
Programming language : Any
Details
Programming Languages : C, C++
Directory : Data Structures / Trie
Explanation : Optional
Details :
Programming language : C, C++, Java
Directory : Algorithms
Explanation : Yes
Details
Programming language : Any
Directory : CPU Scheduling
Explanation : Yes
Originally posted by @Pranay10rawat in #91 (comment)
Please make a sub folder in Algorithms before you add code like
Divide and Conquer
Graph Theory
Dynamic Programming
Greedy Algorithms
Mathematical Algorithms
Backtracking
Branch and Bound
Please add working codes with proper names.
There are large domain of geometry algorithms. I want to add that. I have done completed convex hull problem. I want to submit.
Given a range of numbers (L to R) , print all the perfect numbers within L and R (inclusive) in any language.
Directory : Algorithms/Mathematical Algorithms
Create folders depending on the category like arrays, trees, linked lists, tries etc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.