please explain the challenge in detail,
,
with input and output, and also give me a hint to solve this
Incereasing decreasing sequence
hi @shashank_sabharwal
you will be given some numbers, you have to tell whether the sequence can be divided into 2 parts such that the first part is strictly decreasing and the second part is strictly increasing or not.
In this example the sequence is 1 2 3 4 5
so we can see that it can be divided into such a sequence. The first part is empty, and the second part is strictly increasing
Another example is
5 4 3 4 5
@Ishita . please share the solution of increasing decreasing sequence
@shashank_sabharwal please try to write the code on your own first, i’ll help you if you are stuck anywhere
@ Ishita . kind help me as soon as possible thank you 
hi @shashank_sabharwal
so you have to check 2 things, whether the array is increasing/decreasing
but you need to know when to check which one
so you can try to keep a boolean variable, whose value will indicate whether to check inc/dec
@Ishita sorry but i am not getting this question , is there any hint video or article related to solve this question, you are asking to use a boolean variable but i dont even know the way to write my code , where to use boolean variable how my boolean variable will updated and in which loop?? how i go through my array linearly ,totally blanked in this challenge 
hi @shashank_sabharwal dont worry! it may seem hard in the beginning, just be patient.
Try to go through this approach once, and let me know if there’s anything you did not understand. Once you have completely understood the approach, try to code it out step by step. Dont worry about getting it correct in one go! The flag variable being mentioned below is the boolean variable I suggested using.
i totally understand the question but how to implement this
i don’t want to give up ,
i am not able to code this approach ,
hi @shashank_sabharwal worry not! give it another try. Dont try to write the whole code in one go, start small. Even if you can write the code to just check whether its stricly decreasing first, write only that much. I’ll help you in making changes in that step by step.