prob123
May 21, 2012, 07:28 AM
Here is the problem:
Input:
A B
====== ======
Original YYYYY YYYYY
New YYNNN YNNNN
Output:
NNYYY YNNNN
YYYYY NYYYY
Note: Original and New list would vary from 1 to N. Please provide algorithm to solve this problem programmatically. I am writing computer program to work on this problem.
Thank you for your help
Input:
A B
====== ======
Original YYYYY YYYYY
New YYNNN YNNNN
Output:
NNYYY YNNNN
YYYYY NYYYY
Note: Original and New list would vary from 1 to N. Please provide algorithm to solve this problem programmatically. I am writing computer program to work on this problem.
Thank you for your help