top | item 42915329

(no title)

bikezen | 1 year ago

> "You're tasked with parsing a log file to return the IP addresses that appear at least 10 times, how would you approach this?"

Out of curiosity, did anyone just reply with `awk ... | sort | count ... | awk`? Its certainly what I would do rather than writing out an actual script.

discuss

order

twoparachute45|1 year ago

Nobody has yet, but if they did I'd probably be ecstatic! We specifically tell candidates they can use any language they want. A combination of awk/sort/sed/count/etc is just as effective as a Python script!