I prefer both as I am comfortable in both the situations. When we work alone there is always the opportunity to concentrate more in your work rather than the surrounding environment and when we work in a team it really helps to motivate one by taking the examples of others who are working with us on the same foot...
i prefer to work in team when there is big project because the size of project matters .but if there is case of single performance then i prefer to work alone as now performance of each one will be counted not of team.
This is a very good question raised by Satish and this question is often asked in professional interviews. Here a candidate needs to answer this question very tactfully by saying that he enjoys both kind of situations to work with and could the add the advantages related with it why he thinks for the same!!!