In this topic, I offer 3 fairly basic tasks for ingenuity. For novice programmers (probably for very beginners, a la school, because for a real programmer is too trite). Or, perhaps, for an interview, but to check specifically one narrow aspect: how much a person can make decisions at all independently, and not to bother and correct them.); if it is non-positive, we return 1.); if it is nonpositive, then we return infinity / never².1 + ceil( / ) .Source: https://habr.com/ru/post/311680/
All Articles