Bankruptcy Properties

Is it worth it to go for bankruptcy homes versus preforeclosure?

What kind of information should I be looking for in a bankruptcy property?

Any laws that I have to be aware of?

What kind of contracts are required and I assume all contact is between me and the lawyer?