2022-12-04 23:30:29 +01:00
2022-12-04 23:30:29 +01:00
2022-12-04 23:30:29 +01:00
2022-12-04 23:30:29 +01:00

Advent of Code 2022 - Assignment3 javascript solution

This problem is all about searching for duplicates in strings. The solution is implemented using slice to split the string in half. The priority is retrieved using the ASCII charcode character for convienence. How to retrieve inputs differs between part1 and 2, therefore a checkbox is provided to toggle between different parsing methods.

References

Description
Advent of Code assignments
Readme 358 KiB
Languages
JavaScript 52.2%
HTML 26.4%
CSS 21.4%