1. Find a string in an unsorted array of strings. 2. Search for a string in a sorted array of strings. Your solution can be coded in any language you choose.
Anonymous
1. Simply traversed through the array till I found it, O(N). 2. Implemented binary search in Python, O(log N). Both of my solutions were written in Python.
Check out your Company Bowl for anonymous work chats.