Minimal examples of data structures and algorithms in Python
-
Updated
Jul 6, 2022 - Python
Algorithms are detailed sets of guidelines created for a computer program to complete tasks efficiently and thoroughly.
Introduction
As a tester or developer, I want to have correct answer for Hepta FCPS sample so that I can use it in test scenarios to improve quality of the library.
Acceptance Criteria
Hepta.answer that will contain cluster labels for points from Hepta.data.Hepta.answer to definitions.String manipulation: add two numbers, reverse integer, multiply strings
K-sum
Merge k sorted lists
Reverse nodes in k-group
Regex: regular expression matching, wildcard matching
Describe your issue.
Almost window function docs in
signal.windowssays:https://github.com/scipy/scipy/blob/b22d64791a70975b756f69dbf2a2a2b1080394e1/scipy/signal/windows/_windows.py#L879-L881
However, if we input a negative number, a
ValueErroris thrown, not an empty array.I think the docs should be updated and simple tests should be added.
Reproducing Code Example