Where do you think the decks are coming from if no one makes them?
The first seeds for the algorithms are likely the 3 premade decks per class that Hearthstone provides.
It’s a simple iterative process where HSReplay gathers the data when deck changes happen and people pick up on winrates and change decks accordingly.
This whole process is an algorithm.