in reply to Re^2: find maximum occuring element in a array
in thread find maximum occuring element in a array

Do it while you're pushing. You can run several lines of code on each piece of data or add each piece to multiple data structures. You can do whatever you want in order to get where you're going.

  • Comment on Re^3: find maximum occuring element in a array