…uck you and your stupid interview questions. Who the fuck thinks of these stupid fucking questions? I never had to shift a bit in a C array in my life! And I never got a compilation error on a white board, when I need an hash set in Java I just use HashSet- I don’t fucking care about the complexity of this code block because I can afford another EC2 instance! So fuck you.