Skip to content

Conversation

@JainShubham23
Copy link

No description provided.

@super30admin
Copy link
Owner

  • The student's solution for the first problem is excellent. The use of running products from both directions is a clever optimization that reduces the time complexity from O(n^2) to O(n).
  • The comments are clear and explain the logic well, which is good practice.
  • The variable names (rp for running product) are appropriate and make the code easy to understand.
  • The solution is efficient and meets the problem requirements perfectly.

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.

2 participants