Aa

Text size

?

Map / Arrays / 9

🔧 Modify

Search from the end

find returns the first position of target, or -1. Change it so it returns the last position instead.

  • for
  • sequential search
  • return