Tip 1 : Learn Java
Tip 2 : Practice tough DSA questions
Tip 1 : Have a clean crisp resume
Tip 2 : Write your skills and don't lie
Round 1 is an advanced test that will assess your programming and other technical skills.
• It comprises three programming-based questions of varying difficulty levels to be answered within
three hours. Each question will have a different weightage of marks.
• You will get an option to choose from the list of common programming languages and submit your
solution.
• All submissions for Round 1 shall be evaluated by the judging panel on the following parameters:
− Number of test cases that the code passes and code efficiency
− Marks are assigned to the questions based on the difficulty levels and the solutions will be
evaluated accordingly
− Plagiarism is not acceptable and there shall be negative marking for plagiarism.



Let the encoded sequence be 121,
The first way to decode 121 is:
1 = A
2 = B
1 = A
Thus, the decoded string will be ABA.
The second way to decode 121 is:
12 = L
1 = A
Thus, the decoded string will be LA.
The third way to decode 121 is:
1 = A
21 = U
Thus, the decoded string will be AU.
So, there will be 3 ways to decode the sequence 121 i.e. [(ABA), (LA), (AU)].
The input sequence will always have at least 1 possible way to decode.
As the answer can be large, return your answer modulo 10^9 + 7.
Can you solve this using constant extra space?



If the given arrays are [1, 2, 3] and [1, 2] then you need to return true as ARR2 is a subset of ARR1, but if the given arrays are [1, 2, 3] and [1, 2, 2] then you need to return false since ARR2 is not a subset of ARR1.
A pattern can be observed here
There is a problem set of N problems. It is given that you have A easy problems, B medium problems and C hard problems.
It is given that any valid problemset to be used in the quiz should meet the conditions
given below:
•No two problems with the same difficulty should be adjacent in the final problemset
.There is at least one easy and one hard problem in the final problemset.
• Number of medium problems is strictly greater than easy problems in the final
problemset
• Number of medium problems is strictly greater than hard problems in the final problemset.
Your task is count the total number of valid problemset that can be created from the problems provided. Since this number is large you need to print the modulo 10^9 +7.
Note: Two problemset's are considered different if there is some index i where the difficulty of problems in these two sets are different.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
To make an AI less repetitive in a long paragraph, you should increase: