Atharva forlegolas12.hashnode.net·Jan 4, 2023Daily Dose of DSA - Day 2#include<bits/stdc++.h> using namespace std; /*Naive method - First we will traverse every element of the array then for each element we will traverse right of it and search for the next greater element */ void printceiling(int arr[], int n) { ...150 readsDSAAdd a thoughtful commentNo comments yetBe the first to start the conversation.