1. Write an SQL query to find the second highest salary from a table.
2. How can cron jobs be run in parallel across multiple instances on a specific dataset?
3. Design a caching service that can cache the results of a given method (e.g., sumOfArray). The method should only be executed once for a specific input, with subsequent calls for the same input returning the cached result.