Giter Site home page Giter Site logo

cses's Introduction

CSES code

Write CSES problems every day to keep myself familiar with algorithms.

Solved Tasks: 140/300

Problem Set Solved Total
Introductory Problems 19 19
Sorting and Searching 35 35
Dynamic Programming 19 19
Graph Algorithms 36 36
Range Queries 19 19
Tree Algorithms 12 16
Mathematics 0 31
String Algorithms 0 17
Geometry 0 7
Advanced Techniques 0 24
Additional Problems 0 77

CSES Problem Set Progress Tracker

This Python script, progress-tracker.py, is used to track the progress of solved problems in the CSES Problem Set. It also generates a markdown file for each problem set using the generate_md.py script.

How it works

The script works by counting the number of files in each problem set directory. Each file represents a solved problem. The script assumes that any file that does not start with an underscore (_) is a solved problem.

The problem sets and their corresponding directories are defined in the problem_sets dictionary. If a directory does not exist, it is assumed that no problems have been solved in that set.

problem_sets = {
    "Introductory Problems": "./Introductory Problems",
    "Sorting and Searching": "./Sorting and Searching",
    "Dynamic Programming": "./Dynamic Programming",
    "Graph Algorithms": "./Graph Algorithms",
    "Range Queries": "./Range Queries",
    "Tree Algorithms": "./Tree Algorithms",
    "Mathematics": "./Mathematics",
    "String Algorithms": "./String Algorithms",
    "Geometry": "./Geometry",
    "Advanced Techniques": "./Advanced Techniques",
    "Additional Problems": "./Additional Problems",
}

The total number of solved problems is calculated and the information is written back to the README.md file. The script updates the "Solved Tasks" count and the count of solved problems for each problem set.

The script also generates a markdown file for each problem set using the generate_md.py script. The order of problems in each problem set is defined in the problem_order.py script. The generated markdown files are saved in the Generated Markdown Solutions directory.

cses's People

Contributors

moon-jam avatar

Watchers

 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.