Do NOT post the code to solve a homework assignment (in whole or in part) on the class discussion board, ever, for any reason. This includes posting partial code in progress in order to ask what is wrong with it.
If you do post solution code, this will be considered a violation of the course academic integrity policy and may lead to punishment as outlined by that policy, including loss of points on the related assignment and possible submission to a committee for an academic integrity hearing.
If you need help on your program, please seek other means of help rather than posting your code. For example, if you want to show your code to a TA or instructor, please bring it to them in person, to their office/IPL hours, or email it (if you have their permission) instead.
Also please do not provide highly detailed English descriptions of your solution to an assignment, such as describing exactly what methods, parameters, and loops you used to solve it. It is, however, acceptable and encouraged to discuss homework ideas in general terms.