Mathematic Programming A mathematic coding question is when the situation seems extremely difficult conducting a bare metal Simulations takes too long but when you figure out an underlying math formula, it can be calculated extremely fast, typically O(1)O(1)O(1) to O(n)O(n)O(n).