Atharva legolas12.hashnode.dev·Jan 7, 2023Daily Dose of DSA - Day 3void printgreater(int arr[], int n) // naive approach θ(n²) { for (int i = 0; i < n; i++) // traverse the array { int count = 0; for (int j = 0; j < n; j++) if (j != i && arr[j] > arr[i]) count++; /...109 readsstlinc++Add a thoughtful commentNo comments yetBe the first to start the conversation.