Count Interior Islands After Flooding | Oracle Interview Question