HackerRank interview question

Array, String, Bit manipulation questions