Minimum Copy Paste Operations | Algorithms
You have given a character 'A' which is already printed. You are allowed to perform only 2 operations, Copy All- This operation will copy all the printed characters and Paste This operation will paste all the characters which are already copied. Given a number N, write an algorithm to print character 'A' exactly N times with minimum no of operations.
Post to Tumblr