We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Try sourcing each value from the input stream into a single array using 'fget()'. From there you might want to 'explode' a push into that array. You can easily recall that the first value will be in the 0,0 locale. From there it is trivial to search the array for that specific identifier.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Intro to Tutorial Challenges
You are viewing a single comment's thread. Return to all comments →
Try sourcing each value from the input stream into a single array using 'fget()'. From there you might want to 'explode' a push into that array. You can easily recall that the first value will be in the 0,0 locale. From there it is trivial to search the array for that specific identifier.