Unless specifically noted, you are not permitted to discuss the assignments in CS-305 with anyone except your team mate.
All work handed in by a team must have been done exclusively by the members of that team.
Collaboration outside one's team can only take the form of a discussion on the CS-305 discussion group, visible to the entire class. In this setting, it is permissible to answer questions when such answers do not provide solutions to questions posed in the assignment statement. For example, if someone gets a strange error when compiling their Java program and you know how to fix it, we encourage you to share that insight on the discussion group.
Cheating, plagiarism, and any form of dishonesty will be handled with the maximum severity permitted under EPFL rules; in most cases, this results in being expelled from EPFL. If you are ever in doubt about whether an action on your part is considered unacceptable collaboration, do ask the course staff before proceeding.