Q: A question based on string functions. Check for the variable names in camelCase from the list of words and return true or false.
Q: Write a function to count the number of smaller elements on the right of each element in an array. Given an unsorted array arr[] of distinct integers, construct another array countSmaller[] such that countSmaller[i] contains the count of smaller elements on the right side of each element arr[i] in an array.