Hi to all. i'm new in this forum, it's cool..
i have to solve an algorithm

i have two matrix, one composed of operations and the other composed of numbers.
es: first matrix: |1|2|3|4|5|
second matrix: |+|+|+|+|
notice that there are n numbers and (n-1) operations.
i have to combine them to generate all the valid rpn(Reverse Polish notation) expressions..
hope i explaned it correctly..

thank you very much!