Here you can ask questions and find or give answers to organizational, academic and other questions about studying computer science.
I think both is correct, note the the DNF is not a canonical normal form without further restrictions. You can verify the following equivalences:
It is a matter of logic minimization. The function has even two minimal DNFs which are