Skip to content

Submit Competition_Coding-3 PR - #1191

Open
agk-s30 wants to merge 2 commits into
super30admin:masterfrom
agk-s30:master
Open

Submit Competition_Coding-3 PR#1191
agk-s30 wants to merge 2 commits into
super30admin:masterfrom
agk-s30:master

Conversation

@agk-s30

@agk-s30 agk-s30 commented Aug 18, 2026

Copy link
Copy Markdown

No description provided.

Implement findPairs method to count k-diff pairs.
@super30admin

Copy link
Copy Markdown
Owner

Interview Problem: Pascal's Triangle (Problem_1.py)

  • The space complexity comment of O(1) is misleading. While the auxiliary space is O(n) (for the current row), the total output space is O(n²). Be more precise in your complexity analysis.
  • Consider adding a docstring or more detailed comments explaining the algorithm.
  • The solution is otherwise excellent - clean, correct, and efficient.

VERDICT: PASS


Interview Problem: K-diff Pairs in an Array (Problem_2.py)

E written in Python, which is acceptable since the problem doesn't specify a language. Python is acceptable since theDICT: PASS or NEEDS_IMPROVEMENT

VERDICT: PASS

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