Step 1. arrange all cards in a single pile called pile 1 step 2. maintain two variables a, b and initialize them to 0 step 3. if pile 1 is empty then stop the iteration step 4. read the top card in pile 1 step 5. if letter count > a then store a in b and letter count in a step 6. if letter count < a and letter count > b then store letter count in b step 7. move the current card to another pile called pile 2 and repeat from step 3
Answers
Answered by
1
Answer:
what is this.....it is not understandable
Similar questions