Ramp interview question

in memory database implementation which had 5 levels with increasing difficulty