How to make an array bitonic?
How would one go about creating an array that is bitonic in nature? Can you explain the steps and processes involved in ensuring that the array is first strictly increasing and then strictly decreasing, or vice versa? What are some of the challenges that one might encounter when attempting to achieve this, and how can they be overcome? Is there a specific algorithm or approach that is commonly used to create bitonic arrays?