Giter Club home page Giter Club logo

cp-snippets's Issues

Improve Readme.md

Describe the problem with the current version

  • Find any incorrect grammar and incorrect usage of words or if you can simply make it easier to understand.

Expected behavior

  • Should fix some error or make easier to understand

Get Primes upto some number n

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Min Stack/ Min Queue Implementation.

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Sparse Table

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Graph Algorithms ( read description )

make a class and add nessary basic functions for bfs ,dfs , LCA, etc.
Make sure u commit a lot and maintain the documentation well.
This is a big issue so u might want to collaborate with someone as well.

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Knuth–Morris–Pratt algorithm

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Disjoin union set

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Rabin-Karp

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

make sure to add some form of example in the description

Create your own issue

  • If u have a good snippet that might help the cp community feel free to add it here.

is_prime function

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.

Manacher's Algorithm

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Sieve of Eratosthenes (Optimized)

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

This should be a void function that takes input of a integer and a vector. vector should be passed by reference.

Fenwick tree

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Add your Code Chef template

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.

Time function

This should calculate the time taken by a section of code to run.

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Modular Binary Exponentiation

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Yeah sure. Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Factorial mod p

  • Make sure to add a .json file. have a look at the previous contribution in this repo to get a better understanding.
  • Add a markdown file explaining what the snippets does and what all is recommend to be changed.
  • Add any personal recommendation if you want to.
  • Explain any uncommon topics and add any resources where they can read more about it.
  • Be sure to maintain code quality. Use only the default CPP code to reduce any dependency.

Refer to https://cp-algorithms.com/algebra/factorial-modulo.html for help.

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.