This challenge is about solving a simple math problem 🙂 with a twist.
Objective
- Given a 20 digit number as input (integer type without decimals)
- Find two numbers which when added results into the given input number.
- The length of 2 numbers can be different. However additional +5 points if the two numbers have same length.
- The two numbers generated should not contain the number “4” in them.
Example for 2 digit number
Input
25
Valid Output
15, 10
In-Valid Output
14, 11
Guidelines
- Any programming language can be used.
- Evaluation will be based on minimum number of LOC
- Evaluation will be based on fastest processing
- No other dependencies/3rd party libraries to be used
- Github public repository URL to be shared as submission entry.
- Challenge ends on 26th April 2019.