Thinly slice or shred the cucumber (Hungarians tend to peel it too).
Toss the cucumber slices in a sieve or colander with the salt until well combined. Put this over a bowl or the sink for about 30 minutes until softened. Squeeze out excess liquid then transfer to a bowl. (You can rinse it with water then drain if salt is an issue for you).
Combine 1 Tbsp sugar with the vinegar and water in a small bowl and stir until the sugar dissolves. Taste and adjust the sweetness & acidity to your liking. Add the garlic and dill (if used) Pour the dressing over the cucumber slices.
Chill for 30 minutes before serving.
Serve with a dollop of sour cream and a pinch of paprika, if liked.