Coder Social home page Coder Social logo

ds-algos's People

Contributors

allcontributors[bot] avatar amulya-coder avatar aryashdubey avatar cheshtaaagarrwal avatar cpsggisc avatar kavyapriyakp avatar rohan8594 avatar saurabh-172 avatar shravani01007 avatar shubham2704 avatar shubhankarpataskar avatar swarn10 avatar

ds-algos's Issues

LeetCode #36 - Valid Sudoku

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:

  • Each row must contain the digits 1-9 without repetition.
  • Each column must contain the digits 1-9 without repetition.
  • Each of the nine 3 x 3 sub-boxes of the grid must contain the digits 1-9 without repetition.

Problem Link - LeetCode problem number 36 (https://leetcode.com/problems/valid-sudoku/)

Programming Language to be used - Python3

DS Algo

To add Interpolation Search and Exponential Search.

Implement DS, Algorithms, Leetcode questions

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.

Leetcode Easy

Can I add solution for leetcode problem 344 Reverse String

LeetCode #91 - Decode Ways

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

Implement Insertion Sort

Implementation of Insertion sort algorithm

Already completed in :
#6 - Python

you can work on :
C++
java
javascript
ruby
go
php
c#

DS Algorithms

To add Interpolation Search and Exponential Search.

LeetCode problem #1313-Decompress Run-Length Encoded List

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.

LeetCode problem #1551- Minimum Operations to Make Array Equal

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.

Implement Linear Search

Implementation of Linear Search algorithm

Already completed in :
#6 - Python

you can work on :
C++
java
javascript
ruby
go
php
c#

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.