hacktoberfestsit / problem-solving Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Solve the following problem:
I want to solve this problem in cpp.
Problem Link : https://www.hackerrank.com/challenges/climbing-the-leaderboard/problem?isFullScreen=true
Add the solution for the problem shuffle the array
Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn].
Return the array in the form [x1,y1,x2,y2,...,xn,yn].
Example:
Input: nums = [2,5,1,3,4,7], n = 3
Output: [2,3,5,4,1,7]
Explanation: Since x1=2, x2=5, x3=1, y1=3, y2=4, y3=7 then the answer is [2,3,5,4,1,7].
Maths ->
problem link: https://leetcode.com/problems/number-of-good-pairs/
Add a solution program for binary search in any programming language
Add a solution program for cyclic sort in any programming language
Arrays -> 4. Shuffle the array ->
problem link: https://leetcode.com/problems/shuffle-the-array/
use any programming language of your choice
I want to work on this issue @deepdhar
Arrays -> 1. Find second largest element of an array ->
Given an array nums consisting of 5 random numbers, [x1, x2, x3, x4, x5]
return the second largest element of the array.
Use any programming language for your solution
I'd like to solve this using cpp
Problem Link: https://leetcode.com/problems/sort-array-by-parity/
Add a solution program for linear search in any programming language
Add a solution program for heap sort in any programming language
I would like to work on this problem ..
Arrays - > 2. Reverse an array ->
Given an array of 5 random numbers, [x1, x2, x3, x4, x5]
return the array in reversed form, [x5, x4, x3, x2, x1]
Use any programming language for your solution
I want to work on this issue.
Arrays -> Merge 2 arrays ->
Given two arrays of 5 random numbers each, return a single array with both the arrays merged.
Use any programming language for your solution
Add a solution program for insertion sort in any programming language
I checked the repo. there is one folder for general_solutions with just one file in it.
I would like to contribute some more codes.
Many of the Searching and Sorting solutions in different languages are separated in completely different folders with the same name and are not located in just one folder as they should be. This issue needs to be solved asap because it is confusing for new contributors.
The knapsack problem is in combinatorial optimization problem.
Add a solution program for merge sort in any programming language
Add a solution program for quick sort in any programming language
Solve the following problem:
Solve this and post the answer in any language you prefer
https://leetcode.com/problems/roman-to-integer/
I'd like to solve this Using CPP.
Problem Link: https://leetcode.com/problems/lemonade-change/
I want to add this problem here .
Please assign this to me.
Thank you
Add a solution program for bubble sort in any programming language
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.