Question: I have a 2D character array like this: [ [1 D E F G H] [2 C E] [3 A C] [4 H I J]

I have a 2D character array like this: [ [1 D E F G H]

[2 C E]

[3 A C]

[4 H I J]

[5 A B D]]

How do you make a character array consisting of distinct alphabets?

That is the output should be [A B C D E F G H I J].

I need a C++ code for the same.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!