Min_27's blog

By Min_27, history, 7 months ago, In English

I noticed that 2149E — Subarrays with Exactly K from the just-finished contest is similar with LeetCode 992 — Subarrays with K Different Integers

The main twist here is that Codeforces adds the extra condition with [l,r] to the LeetCode version.

if you're upsolving E, I'd recommend trying LC 992 first :)

  • Vote: I like it
  • +4
  • Vote: I do not like it

»
7 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Min_27 (previous revision, new revision, compare).