ladder diagram examples with explanation - Search