Giter Site home page Giter Site logo

maiquynhtruong / algorithms-and-problems Goto Github PK

View Code? Open in Web Editor NEW
38.0 9.0 21.0 203 KB

Interesting algorithms I find on the Internet

Java 58.56% C++ 39.48% Python 1.96%
algorithms-implemented algorithms data-structures java-8 programming-challenge cpp

algorithms-and-problems's Introduction

Algorithm-Implementations

I created this repo as a way to practice algorithms and data structures. Getting good at solving programming problems and competitive programming has been something I always wanted to do. I do competitive programming not just to prepare for technical interview but to me it's a combination of mathematics and practicality. I started learning concepts like graph and dynamic programming even before I knew about technical interviews.

Structure

There are two folders in the repo for data structures and classic problems. Data structures is where I implemented new and advanced data structures in Java.

Most notable data structures I have collected:

  • Fenwick Tree
  • Segment Tree
  • Trie

Classic problems is a folder for well-known problems and the algorithms used to solve them. Most of the algorithms can be found abundantly on the Internet.

Some of the interesting problems so far have been:

  • Equal Partitions
  • Coin Change
  • Graph Coloring
  • Kruskal
  • Prim

Outside of the two folders, I spent most of my time on solving programming problems on a variety of online judges (Hacker Rank, Hacker Earth, UVA, etc). I also coded a lot of problems on Codeforces, Leetcode and I have separate repos dedicated to them.

My main language of programming is Java but I have been using Cpp recently.

I'll be happy to receive contributions.

algorithms-and-problems's People

Contributors

maiquynhtruong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

algorithms-and-problems's Issues

BST Sequence

The BST sequence code does not work properly. It adds the already chosen nodes to the list.

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.