- Numeric problems -> the output is directly determined by the input.
Analyse multiple casesMultiple cases
Patterns Problem
TypePattern
UsePattern
NumberProblem
ClassNumeric Formula 4.1 Numeric Case
analysis (two cases)4.2 Numeric 4.3 Numeric Nested cases 4.4 Numeric Generate a sequence 4.5 Numeric Generate a list 2.1 Numeric Append to a list 2.2 Numeric Filter list 2.3 Numeric List Tranformation 2.4 Numeric Reduce 2.5 Counting
problemsNumeric Aggregate 2.6 Counting
problemsNumeric Search 2.7 Find a value Numeric Search 2.8 Find best value
- Calculate
- Formula problems
- Word problems
- Formula problems
- Case analysis
- Two Cases
- Multiple Cases
- Nested Cases -> efficient
- Generate a sequence
- Initialise and generate
- Terminatation condition - > Give a suitable condition to stop the generation
- Non-termination -> Under which conditions will the generation never stop ?
- Infinite loops