Screenshots
LeetCode Ghost Window includes a powerful screenshot capture feature that allows you to grab LeetCode problem statements for processing with AI.
Capturing Screenshots
The application provides several keyboard shortcuts to capture screenshots of LeetCode problems:
Capture primary screenshot (problem statement)
Capture secondary screenshot (examples, constraints)
Capture tertiary screenshot (additional info)
Reset all screenshots
Best Practices
For the best results when capturing screenshots:
- Ensure the problem statement is fully visible in your browser
- Capture examples and constraints in separate screenshots when possible
- Use the third screenshot for additional context or special requirements
- Make sure all necessary information is visible within the capture area
Screenshot Preview
After capturing screenshots, you can preview them within the application:
- View Thumbnails
Captured screenshots appear as thumbnails in the application interface. Each thumbnail has a colored indicator showing its status.
- Enlarge Preview
Click on a thumbnail to open a larger preview of the screenshot.
- Recapture if Needed
If a screenshot doesn't capture the information clearly, you can recapture it using the same shortcut.
Capturing Multiple Screenshots
For complex LeetCode problems, capturing multiple screenshots is often necessary:
Screenshot 1: Problem Statement
Capture the main problem description, including the task and basic requirements.
Screenshot 2: Examples and Test Cases
Capture the examples, input/output format, and test cases provided by LeetCode.
Screenshot 3: Constraints and Additional Info
Capture constraints, edge cases, or any other relevant information that would help with solving the problem.
Using Screenshots with AI Processing
After capturing the necessary screenshots, you can process them with AI:
Process with 1 screenshot
Process with 2 screenshots
Process with 3 screenshots
The AI will analyze all selected screenshots together to provide a comprehensive solution.
CLI Screenshot Management
You can also manage screenshots through the CLI:
# Capture a screenshot leet-joseok capture # Process captured screenshots leet-joseok process