Dynatrace interview question

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