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

New topic - Parallel Binary Search #3624

Open
Muaath5 opened this issue Apr 20, 2023 · 3 comments
Open

New topic - Parallel Binary Search #3624

Muaath5 opened this issue Apr 20, 2023 · 3 comments
Assignees
Labels
content content-related issue good first issue Good for newcomers

Comments

@Muaath5
Copy link

Muaath5 commented Apr 20, 2023

This should be probably in Gold or Platinium.

Usually you can use this techinique when you can do a single query in $O(n \cdot log_2(MaxAns))$, you can sweep through the array and prosess all the queries in a parallel way, So usually the total complexity is: $O((n + q) \cdot log_2(MaxAns))$

Problems:

Probably also add problem SZKOpul - Meteors, but I'm not sure about it.

@bqi343 bqi343 added good first issue Good for newcomers content content-related issue labels May 12, 2023
@Talha-Taki002
Copy link
Contributor

For joining CPI team as a content writer, I am willing to write this content for my one of two pull requests requirement. Can you assign me?

@bqi343
Copy link
Member

bqi343 commented Jun 20, 2023

This should be probably in Gold or Platinium.

Or maybe Advanced, given that I can't think of any USACO Gold or Platinum example problems for this.

@Talha-Taki002
Copy link
Contributor

@bqi343 I have added the first draft of parallel binary search module. If you can check it out and let me know where I fell short and maybe you can fix some issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content content-related issue good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants