I am trying to optimize below implementation, I have 2 arrays:
item= [3, 2, 6, 1, 3, 1, 9, 3] price=[21, 54, 2, 56, 13, 98, 56, 20]
Wha