Hi Moudhgalya,
is there any information about the ordering of the numbers from the two lists (i.e. first the numbers of the first list, then the numbers of the second list, or should the resulting list be sorted by any specific criteria)?
Did you check the IS Built-In Services Reference for the pub.math-Folder and the pub.util-Folder for helpful services?
Here is some pseudo code as a starting point:
- Define empty result list
- LOOP over first input list
– Check if current number is odd (might result in an implementation of an helper service)
– Branch on if odd
— Odd: add to result list
— Even: do nothing
- LOOP over second input list
– Check if current number is odd (might result in an implementation of an helper service)
– Branch on if odd
— Odd: add to result list
— Even: do nothing
- add sorting/filtering here if neccessary
Regards,
Holger
#webMethods