Hey, I would like to contribute a Binary Search algorithm in the Java language.
Please assign this issue to me so that I can start contributing.
Thanks.
@sonumahajan
I want to add questions asked in my various interviews.
kadane's Algorithm
Subarray with given sum
Topological Sort
Trailing zeroes in factorial
I request you to kindly merge it.(for hacktoberfest 2021)
@sonumahajan
To get Pull Request for hacktoberfest 2021
I have added some files which are the questions asked in top companies. I request you to kindly look into it.
This would not only help me to gear up in the world of open source but also will motivate me to being a fresher.
files added:
majority element (CPP code)
Reverse Linked List in groups(cpp code)
Diameter of Binary tree(cpp code)
Remove loop in Linked List(cpp code)
I want to add the solution for the Peak Index in Mountain Array leetcode problem in Java.
Please assign this issue to me and add the Hacktoberfest label to this issue.
Given an array A[ ] of positive integers of size N, where each value represents the number of candies in a packet. Each packet can have a variable number of candies. There are M students, the task is to distribute candy packet among M students such that :
Each student gets exactly one packet.
The difference between maximum number of candies given to a student and minimum number of candies given to a student is minimum.