Maximum profit after buying and selling the stocks with transaction fees | Set 2
Given an array arr[] of positive integers representing prices of stocks and an integer transactionFee, the task is to find the maximum profit possible after buying and selling stocks any number of times and giving the transaction fee for each transaction. Examples: Input: arr[] = {6, 1, 7, 2, 8, 4},