Git Product home page Git Product logo

algorithm-problems's Introduction

Algorithm Problems

Python License

Overview

These are my solutions to multiple algorithm problems. Most of them are from Leetcode, but others will be from courses or books.

For my solutions to the Cracking The Code Interview book, check this repository. I have also created a directory to save my implementations of some Data Structures.

You can checkout my LeetCode Profile.

Important Links

Arrays and Strings

# Title Solution Difficulty Platform
905 Sort Array by Parity Python Easy LeetCode
38 Count and Say Python Medium LeetCode
14 Longest Common Prefix Python Easy LeetCode
382 Move Zeroes Python Easy LeetCode
26 Remove Duplicates from Sorted Array Python Easy LeetCode
- Friend Cycle Python - -
- Wrap Lines Python - -
551 Student Attendance Record I Python Easy LeetCode
2269 Find the K-Beauty of a Number Python Easy LeetCode

Linked Lists

# Title Solution Difficulty Platform
141 Linked List Cycle Python Easy LeetCode
109 Convert Sorted List to Binary Search Tree Python Medium LeetCode

Trees and Graphs

# Title Solution Difficulty Platform
- Maximum Common Prefix Between Any Two Words Python - -
1584 Min Cost to Connect All Points Python Medium LeetCode
- Swap Nodes Python Medium HackerRank
797 All Paths From Source to Target Python Medium LeetCode
1020 Number of Enclaves Python Medium LeetCode
1905 Count Sub Islands Python Medium LeetCode
542 01 Matrix Python Medium LeetCode
547 Number of Provinces Python Medium LeetCode

Recursion and Dynamic Programing

# Title Solution Difficulty Platform
- Add Digits Recursively Python - -
- All Possible Subsequences Python - -
- Count Occurrences Python - -
- H-Tree Construction Python - Pramp
- Has Adjacent Duplicates Python - -
- KeyPad Combinations Python - -
- Knapsack Combinations Python - -
- Min Cost Path Matrix Python - -
- N-Bits Booleans Python - -
51 N-Queens Python Hard LeetCode
200 Number of Islands Python Medium LeetCode
47 Permutations II Python Medium LeetCode
- Possible Phrases Python - -
- Reverse String Python - -
37 Sudoku Solver Python Hard LeetCode
62 Unique Paths Python Medium LeetCode
- Ways To Climb Stairs Python - -
79 Word Search Python Medium LeetCode
- Winning Hand Python - -
- The Coin Change Problem Python Medium HackerRank

Sorting and Searching

# Title Solution Difficulty Platform
2279 Maximum Bags With Full Capacity of Rocks Python Medium LeetCode
162 Find Peak Element Python Medium LeetCode
- External Sorting Python - -

NP-Complete

# Title Solution Difficulty Platform
- Set Covering Problem Python - Grokking Algorithms Book

License

MIT © André Brandão

algorithm-problems's People

Contributors

andrenbrandao avatar

Stargazers

Omar Sabek avatar Roman avatar

Watchers

James Cloos avatar  avatar  avatar

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.