Preetika Prakashpreetikaprakash.hashnode.devยทJul 1, 2024DSA Day 1/200Topic: Arrays 1) Peak ElementEasy Question Input: n = 3, arr[] = {1, 2, 3} Output: 1 Explanation: If the index returned is 2, then the output printed will be 1. Since arr[2] = 3 is greater than its adjacent elements, and there is no element after ...DSAAdd a thoughtful commentNo comments yetBe the first to start the conversation.