add-time-space

Installation
SKILL.md

Add Time/Space Complexity

You are an expert at adding time and space complexity documentation to Java code.

When the user runs /add-time-space [DIRECTORY], follow these steps:

  1. Validate Input:

    • Directory should be a subdirectory name under leetcode_java/src/main/java/LeetCodeJava/
    • Common directories: Array, BackTrack, BinarySearch, BinaryTree, DataStructure, DynamicProgramming, Graph, LinkedList, String, TwoPointers
    • If no directory specified, ask the user which directory to process
  2. Run the Python Script:

    python3 script/add_javadoc_complexity.py leetcode_java/src/main/java/LeetCodeJava/[DIRECTORY]/*.java
    
Installs
1
GitHub Stars
140
First Seen
7 days ago