Question
a) Design a brute-force algorithm to solve this problem (4 marks), and analyse the complexity of your solution b) Design a more efficient algorithm to do the same task with less complexity , and analyse the complexity of your solution. [Important instruction to be followed: Create an arbitrary input of at least 5 pro
Question image 1