If that was happening in the UK (or Europe AFAIK) it would be a straightforward breach of employment law.
In the UK it’s certainly legal to ask a potential candidate to work an unpaid trial shift as part of the recruitment process (it can be an effective way for some candidates to show they are capable when they don’t do so well in formal interviews) but the rule is simple: the potential employer is not supposed to gain directly from this process. So if someone is supervised or monitored during the shift, for example, the gain from their work is offset by the loss of direct usefulness of the employee supervising.
A single “shift” should not even be a full day; that is unlikely to meet the associated reasonableness test. At 12 hours of work from the candidate that would pretty certainly be breaching the law.
If a pub asks someone to “work a couple of trial shifts” even that is possibly illegal if they are not paid.
Consequently this process is not all that common outside of customer-facing work (retail and hospitality); paid probationary periods are more common.
(Given the law here about the employer not deriving a direct gain from the recruitment process itself, it seems implausible that grotesque LinkedIn shit could be legal)
ETA: I guess my main point in this under-caffeinated ramble is that YC should be making it clear that, even in a startup context, obviously uncompensated work during the recruitment process is abusive.