Smallest Shared Element in Sorted Arrays - Coding problem | OneNoughtOne