codewars / content-issues

Higher level issue tracker for the Codewars content.
15 stars 1 forks source link

Deduplicate - window sliding #208

Open hobovsky opened 1 year ago

hobovsky commented 1 year ago
  1. Squeaky Window

    • running max of windows
    • 7kyu
    • Satisfaction 88% with 310 completions
    • 1 pending issue
    • 5 languages + 1 pending translation
    • Published Sep 2015, author active
  2. Moving Average

    • 7kyu
    • Satisfaction 93% with 700+ completions
    • running average of windows
    • No pending issues
    • python only + pending JS translation
    • Published Feb 2019, author inactive

Both kata require return null/None on invalid configuration of inputs: null array, window length less than 1 or larger than len(arr).

hobovsky commented 1 year ago

I think that there's not much difference between max of a window and avg of a window, and 1. can be kept as more complete, and 2. is not needed.

EloiseRosen commented 12 months ago

Vote for keep 1 only.