Find the maximum profit from buying and selling stock with unlimited transactions. You may hold at most one share at a time.