PySnippets icon indicating copy to clipboard operation
PySnippets copied to clipboard

[Feature Request]: Enhance listmanipulation.py with Additional List Operations

Open that-ar-guy opened this issue 1 year ago • 2 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Feature Description

The current listmanipulation.py script has several useful list manipulation functions. However, it can be further improved by adding additional common operations.

✅ Suggested Enhancements:

  • Chunk a List: Split a list into smaller chunks of a given size.
  • Find Most Frequent Element: Identify the most frequently occurring element in a list.
  • Rotate List: Rotate the list by a given number of positions.
  • Find Unique Elements: Get elements that appear exactly once in the list.
  • Find Pairs That Sum to a Target: Find all pairs of numbers that sum to a specific target.

Record

  • [x] I agree to follow this project's Code of Conduct
  • [x] I want to work on this issue
  • [x] I'm willing to provide further clarification or assistance if needed.

Full Name

Mohammed Abdul Rahman

Participant Role

swoc 5

that-ar-guy avatar Feb 21 '25 15:02 that-ar-guy

🙌 Thank you for bringing this issue to our attention! We appreciate your input and will investigate it as soon as possible.

Feel free to join our community on Discord to discuss more!

github-actions[bot] avatar Feb 21 '25 15:02 github-actions[bot]

✅ This issue has been closed. Thank you for your contribution! If you have any further questions or issues, feel free to join our community on Discord to discuss more!

github-actions[bot] avatar Feb 25 '25 01:02 github-actions[bot]