To what extent does Buddhism reject the Hindu idea of Brahman, The Universal Spirit/Ground of all being?

To what extent does Buddhism reject the Hindu idea of Brahman, The Universal Spirit/Ground of all being? Compare a Buddhist view of the caste system with a Hindu view of the caste system.