Boil the potatoes and grate them on a coarse grater, then salt them. Chop the peppers and pickles, grate the feta cheese. Mix the mayonnaise with the yoghurt.
At the very bottom, put a thick layer of potatoes, while flattening them to make a layer. Arrange: layer of mayonnaise, layer of peppers, layer of potatoes, layer of mayonnaise, layer of feta cheese, layer of pickles.
Continue in this order until out of ingredients. At the very top, put a layer of potatoes. Over it, grate the boiled eggs and sprinkle with corn.
It's best to have the cake sit for a few hours in the fridge, or even overnight, before serving, so that it hardens.