private int apply(int x, int a, int b, int c) {
        return a*x*x + b * x + c;
    }
Date 10/08/2016
@author Tushar Roy

Given a sorted array of integers nums and integer values a, b and c.
Apply a function of the form f(x) = ax2 + bx + c to each element x in the array.

Time complexity O(n)

https://leetcode.com/problems/sort-transformed-array/
src/com/interview/array/SortedArrayTransformation.java