rohan8594 / ds-algos Goto Github PK
View Code? Open in Web Editor NEWSolutions to DS, Algos, Leetcode, etc.
License: MIT License
Solutions to DS, Algos, Leetcode, etc.
License: MIT License
I want to submit the solution for the Shuffle The Array problem on leetcode. This is a Easy problem from the Array problemset
Problem Statement - Determine if a 9 x 9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules:
Problem Link - LeetCode problem number 36 (https://leetcode.com/problems/valid-sudoku/)
Programming Language to be used - Python3
To add Interpolation Search and Exponential Search.
I'm trying to build a repo where I can maintain solutions to various DS, algorithms, leetcode, and ctci questions. My goal for this repo is that it should be able help developers in their preparation for technical interviews.
I've already added solutions to a number of questions that I had solved when I was preparing for interviews, and looking to further extending this. As part of Hacktoberfest, I'm looking for contributions in the form of solutions to questions/algorithms that may be currently missing from this repo.
Solutions should be in Python or Java, as I'm trying to keep this repo down to just two languages. If there is a question/algo you want to take up, pls comment below and create a separate issue for the question/algo you are taking up. I will try to put up a contribution guide very shortly in the root of the repo. Pls follow that while creating a PR.
Want to add solution for Leetcode-Easy #1920 in language Java
Can I add solution for leetcode problem 344 Reverse String
Problem Statement-
A message containing letters from A-Z is being encoded to numbers using the following mapping:
'A'->1,'B'->2,...'Z'->26
Given a non-empty string containing only digits, determine the total number of ways to decode it.
The answer is guaranteed to fit in a 32-bit integer.
Problem Level - Medium
Problem Tag - DP
Problem Link - (https://leetcode.com/problems/decode-ways/)
Programming Language - Python3
Added a leetcode question for Merging common intervals
Already completed in :
#6 - Python
you can work on :
C++
java
javascript
ruby
go
php
c#
To add Interpolation Search and Exponential Search.
Problem-
We are given a list nums of integers representing a list compressed with run-length encoding.
Consider each adjacent pair of elements [freq, val] = [nums[2i], nums[2i+1]] (with i >= 0). For each such pair, there are freq elements with value val concatenated in a sublist. Concatenate all the sublists from left to right to generate the decompressed list.
Return the decompressed list.
problem difficulty: easy
problem link: https://leetcode.com/problems/decompress-run-length-encoded-list/
language used: python
I would like to contribute to this repo by adding a solution to this leetcode problem with python in the arrays and strings section.
Please assign me to this.
I would like to do add this algorithms to your repo.
Problem-
You have an array arr of length n where arr[i] = (2 * i) + 1 for all valid values of i (i.e. 0 <= i < n).
In one operation, you can select two indices x and y where 0 <= x, y < n and subtract 1 from arr[x] and add 1 to arr[y] (i.e. perform arr[x] -=1 and arr[y] += 1). The goal is to make all the elements of the array equal. It is guaranteed that all the elements of the array can be made equal using some operations.
Given an integer n, the length of the array. Return the minimum number of operations needed to make all the elements of arr equal.
problem difficulty: medium
problem link: https://leetcode.com/problems/minimum-operations-to-make-array-equal/
language used: python
I'm new to open source contribution and hactoberfest and I would like to contribute to arrays and strings repo by adding a solution to this problem. I checked and this was not been added and I read the contribution guide also, please assign me if not assigned anyone on this.
Adding doubly linked list in python
I would like to do add these algorithms to your repo.
Thanks
Creating a temporary issue to test all contributors bot
Already completed in :
#6 - Python
you can work on :
C++
java
javascript
ruby
go
php
c#
I would like to add merge sort to your repository
I would like to add some more linked list algorithms like Doubly LL, Circular LL in this repository.
Already completed in :
#6 - Python
you can work on :
C++
java
javascript
ruby
go
php
c#
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.