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

Added new python codes for max_product_subarray, min_window, and min_meeting_rooms in HumanEval. #621

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ocman-nazir-briet
Copy link

  • Implemented max_product_subarray to find the maximum product of any contiguous subarray.
  • Implemented min_window to find the smallest substring containing all given characters.
  • Implemented min_meeting_rooms to determine the minimum number of meeting rooms required.
  • Implemented longest_consecutive_sequence to find the longest sequence of consecutive numbers in an array.
  • Implemented maximum_xor_pair to find the maximum XOR of any two numbers in a list.
  • Added structured JSON formats including function definitions, test cases, and example test cases for each problem.

@ocman-nazir-briet ocman-nazir-briet changed the title Update humaneval-python.jsonl and added new python codes. Added new python codes for max_product_subarray, min_window, and min_meeting_rooms in HumanEval. Jan 30, 2025
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