How to get the combination in matrix
0 Answers
How to get the combination in matrix
| Flag | PURGE
How to get the combination in matrix. For ex: we have martrix as shown below.
A D E
B null F
C null null
Consider A B C are root nodes i.e first columns and each column we have to pick the one element and generating the combination.
ADE
ADF
BDE
BDF
CDE
CDF
A D E
B Z F
C null null
ADE
ADF
AZE
AZF
BDE
BDF
BZE
BZF
CDE
CDF
CZE
CZF
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.