JP's Blog

  • GitHub * Flickr * Resume
  • Reviews
  • Programming
  • Photography
  • Maker
  • Writing
  • Research
  • RSS

AoC 2022 Day 6: Ring Buffinator

2022-12-06

Source: Tuning Trouble

Part 1

Given input as a list of characters, find the index of the first sliding window (size 4) where all of the characters are distinct.

read more...

  • All posts: By Date
  • All posts: By Tag
  • RSS: All
  • RSS: programming/topics

All posts unless otherwise mentioned are licensed under Creative Commons License

Any source code unless otherwise mentioned is licensed under the 3 clause BSD license