Skip to content

done #1041

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: master
Choose a base branch
from
Open

done #1041

wants to merge 1 commit into from

Conversation

Saagarwal11
Copy link

No description provided.

@super30admin
Copy link
Owner

The student's solution is completely empty, containing no code or comments whatsoever. This fails to address the problem in any way. For a backtracking problem of medium difficulty, we would expect to see:

  1. A clear function definition with appropriate parameters
  2. Base cases for the backtracking termination
  3. Recursive cases exploring possible choices
  4. Proper state management (adding/removing choices)
  5. Potentially helper functions if the problem requires it

Since no solution was provided, I cannot evaluate correctness, time/space complexity, code quality, or efficiency. The student needs to implement an actual solution that demonstrates understanding of backtracking principles.

For future attempts, the student should:

  • Start by understanding the problem requirements
  • Outline the backtracking approach on paper first
  • Implement the base case(s)
  • Implement the recursive exploration of choices
  • Test with small cases before finalizing

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.

3 participants