The conditions are as follows:
Quasiconcavity: If there are odd number of variables then the bordered hessians will alternate in sign starting with a negative, however if there are even number of variables then bordered hessians will be positive.
Quasiconvexity: Bordered hessians will be negative for all n (no of variables).
"I don't ride side-saddle. I'm as straight as a submarine"