Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Writing a Programming Book in 2021. Parent comment
My baseline test is to swap keys and values in a [hash/map/dictionary]. In any language of their choice. So [a=>1, b=>2, c=2] Becomes [1=>a, 2=>[b,c]]
75% fail completely. Some struggle but pass.
Others complete it in a minute and are confused as to why such an easy test.
There are no comments on this comment yet.
My baseline test is to swap keys and values in a [hash/map/dictionary]. In any language of their choice. So [a=>1, b=>2, c=2] Becomes [1=>a, 2=>[b,c]]
75% fail completely. Some struggle but pass.
Others complete it in a minute and are confused as to why such an easy test.