Any links whether it is nofollow or dofollow as long as it is relevant to your niche site, it'll be a good backlink for your site.Backlink from same domain and different domain. which will help you in ranking on Google
But if I have 10 do-follow link from the same domain and 10 dofollow link from the different domain. Which one is powerful.
and if the same domain has more authority then the 10 domain