Dynatrace Interview Question

Write a pseudo-code to search through an array without knowing its size