Folks often use links to gain ranking keeping in mind that Manipulating DA / PA / DR is easy & you shouldn't focus on these metrics. Focus on producing high quality content so that it can receive organic traffic, referrals from other sources as well..
Building spam backlinks are of no value, infact it will hurt your seo efforts. Focus on producing quality content, so that it can receive organic backlinks from different sources.
Medium has huge traffic, yes I do agree on that. I have seen folks are building backlinks on medium but since that backlink will be no follow. There are multiple other factors involved as well for rankings.