Skip to content
View charel-felten-rq's full-sized avatar
🌍
🌍

Block or report charel-felten-rq

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. aoc2023-01 aoc2023-01
    1
    import itertools as it, operator as op, re
    2
    from functools import reduce
    3
    d = {"one":"1","two":"2","three":"3","four":"4","five":"5","six":"6","seven":"7","eight":"8","nine":"9"}
    4
    INPUT1 = """..."""
    5
    find_target_indices = lambda word, target: reduce(lambda acc, itm: acc | {itm} if word[itm:itm+len(target)] == target else acc, range(len(word)),set())