Skip to content
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

UofT-DSI | Algorithms and Data Structures - Assignment 1 #43

Closed
wants to merge 1 commit into from

Conversation

sehroz
Copy link

@sehroz sehroz commented Nov 15, 2024

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Adding code to solve the missing numbers problem in the range [0, n].

What did you learn from the changes you have made?

I learned how to efficiently find missing numbers using sets and boolean arrays.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?

Adding code to solve the missing numbers problem using a boolean array to track missing numbers in the range.

Were there any challenges? If so, what issue(s) did you face? How did you overcome it?

Understanding the edge cases like an empty list or no missing numbers.

How were these changes tested?

By running multiple test cases to validate the output.

A reference to a related issue in your repository (if applicable)

N/A

Checklist

  • I can confirm that my changes are working as intended

Copy link

Hello, thank you for your contribution. If you are a participant, please close this pull request and open it in your own forked repository instead of here. Please read the instructions on your onboarding Assignment Submission Guide more carefully. If you are not a participant, please give us up to 72 hours to review your PR. Alternatively, you can reach out to us directly to expedite the review process.

@sehroz sehroz closed this Nov 15, 2024
@sehroz sehroz deleted the assignment-1 branch November 15, 2024 16:57
@sehroz sehroz restored the assignment-1 branch November 15, 2024 17:00
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.

1 participant