Increasing Decreasing Problem

The question seems a bit unclear.
I’ve coded the solution but it’s failing at few test cases.
Here’s the link to the code: https://ide.codingblocks.com/s/66831

@tomarvikas738 hey vikas I saw your code i made some modification you can refer this. if any queries let me know

1 Like