Hacker News new | ask | show | jobs
by ocean_moist 676 days ago
pro tip: change variable/function names, switch from if/else to switch, invert if/else statements, switch for and while loops, group code differently, create helper functions or collapse helper functions, rewrite loops as streams/ranges/list comprehensions, etc. The ide can do most automatically.

It is pretty much impossible to detect software plagiarism, especially on leetcode style questions as only 1 style or pattern is the most efficient answer.

Though if a student changes it sufficiently enough, they might begin to actually see the invariants and ideas and actually learn the material.