Tip 1 : Practice at least 250 Questions
Tip 2 : Do at least 2 projects
Tip 1 : Have some projects on resume.
Tip 2 : Do not put false things on resume.



Given ‘N’ = 4 and ‘ARR’[] = 1, 2, 3, 4.
The answer will be ‘1’ because an increasing subsequence of [1, 2, 3, 4] having length greater than 3 can be made.
You are given an integer array/list ‘ARR’ of size 'N' that is sorted in ascending order. Your task is to return '1' if and only if you can split it into one or more increasing subsequences such that each subsequence consists of consecutive integers and has a length of at least 3. Else, return '0'.
Note: An increasing sequence is a sequence where the difference between ith and i + 1th number is 1 exactly. For example : 1, 2, 3, 4 or 3, 4, 5 or -1, 0, 1 are all increasing subsequences.
For example:
Given ‘N’ = 4 and ‘ARR’[] = 1, 2, 3, 4.
The answer will be ‘1’ because an increasing subsequence of [1, 2, 3, 4] having length greater than 3 can be made.
Design whatsapp?
What is Sharding?
What is CAP theorem?
How is NoSQL database different from SQL databases?
How is Horizontal scaling different from Vertical scaling?

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?