Algorithmic foundation of fair graph mining