Math, asked by Akonvict7364, 9 months ago

Find the longest sequence that contains only 2 unique numbers.

Answers

Answered by wangsakshi2026
3

Answer:

  • hashmap is used to track the unique elements in the map
  • solution for k unique characters, the following solution is corrected.

Mark as BRAINLIEST ❤️❤️❤️

please

Similar questions