Skip to content

Added english tutorial for LOJ-1068 Investigation #518

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sandesh-543
Copy link

Closes #517.

Problem link: https://lightoj.com/problem/1068

Changes introduced in this PR

  • This PR adds an English tutorial for problem 1068 – Investigation
  • Explained the Digit DP technique with clear state tracking:
    • Current position
    • Remainder modulo K
    • Digit sum modulo K
    • Tight constraint flag
  • Included optimized and memoized Java solution
  • Provided input/output samples
  • Added edge case handling notes for K > 90 and memory constraints
  • Mentioned potential improvements to handle TLE and MLE on LightOJ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add tutorial for LOJ-1068 Investigation
1 participant