Asana Interview Question

Write pseudocode to check if a data structure satisfies certain properties.