Ramp Interview Question

in memory database implementation which had 5 levels with increasing difficulty