java or php tip for small problem
- by agazerboy
Hi All,
I am having a weird mind gogling problem. Sorry in advance, If I confuse you.
I have following data
1 3 5
5 1 2
2 4 8
3 2 9
3 8 4
first column = source 1
second column = source 2
third column = result column
First and second column will can create 3rd column and that 3rd column can be used in
1st or 2nd column to make a new 3rd column value. You can see in first row 5 was 3rd column
and in 2nd row it was input to make 2 (3rd column)
I am looking for a solutin that if it pass 3 it return me (1,4,5) rows and same for other
digits.
Solution tip can be either in java or php because I just want to get data from a old
project to make it work !
Thanks !