Almost 10% of Harvard's Fall 2016 Intro CS students charged with cheating

Basically do not help others if you have figured the solution out yourself. Helping others to debug code is fine but not providing a solution (i.e. code). Debugging code is a skill which is NOT taught during lectures in CS. A lots of code to most common CS problems/algorithms is available on Web. You can not just copy it and submit as your own work. This defeats the whole purpose of discovery of solution by you and associated learning in the process of problem solving.