Tip 1 : Do at least one project in every language or technology you learned.
Tip 2 : Must learn the basics like DSA and Oops.
Tip 3 : Must perform the hands-on coding questions for every concept you learn in coding.
Tip 1 : Must have 1-2 projects on every language or skill.
Tip 2 : Must have a few certifications and participations mentioned,
In this round, There were 3 coding problems from easy to hard difficultly level.



A subsequence is a sequence that can be derived from another sequence by deleting zero or more elements without changing the order of the remaining elements.



If you are given an array {1, 1, 0, 0, 1} then you will have to return the count of maximum one’s you can obtain by flipping anyone chosen sub-array at most once, so here you will clearly choose sub-array from the index 2 to 3 and then flip it's bits. So, the final array comes out to be {1, 1, 1, 1, 1} which contains five ones and so you will return 5.



1. 1 ‘VAL’, for this type of query, you need to insert the integer 'VAL' to the end of the array.
2. 2 ‘VAL’, for this type of query, you need to take the bitwise XOR of all the elements of the array with 'VAL' i.e each element of the array ‘ARR’ will be updated as ‘ARR[i]’ = ‘ARR[i]’ ^ ‘VAL’ ( ^ denotes the bitwise XOR operation).
1) Bitwise XOR operation takes two numbers and performs XOR operation on every bit of those two numbers. For example, consider two numbers 2 and 3 their bitwise XOR will be 1. Because the binary representation of 2 is '10' and the binary representation of 3 is '11'. And XOR of '10' and '11' will be '01'(because XOR evaluates to 0 if the corresponding bits are the same in both the operands, otherwise it evaluates to 1), which is equal to 1.
2) The first query will always be a type 1 query.
3) Note that the ith query should be performed on the array obtained after performing (i-1)th query on the array and so on i.e the changes of each query are updated on the original array itself.



Input:
'a' = 8, 'b' = 5
Output:
5 8
Explanation:
Initially, the value of 'a' and 'b' is 8 and 5, respectively.
After swapping, the value of 'a' is 5, and the value of 'b' is 8.
Step 1: Provide inputs for x, y
Step 3: Print x and y
Step 4: x = x + y
STEP 5: y= x - y
STEP 6: x =x - y
STEP 7: print x and y as values for x and y are swapped



1) A year is said to be a leap year if it has 366 days. Normal years have 365 days.
2) The integer 'N' does not contain any leading zeros.
Name some different kinds of operations that are possible on the semaphore.
Tip 1 : Wait()
Tip 2 : Signal()
What do you mean by process synchronization?
Tip 1 : Cooperative Process
Tip 2 : Independent Process
What are the advantages of DBMS?
Tip 1 : Ensure data consistency
Tip 2 : Easy accessibility
Tip 3 : Provides backup and recovery
What do you mean by Data Model?
Tip 1 : These models are used to describe the relationship between the entities and their attributes.
Tip 2 : Hierarchical data model
Tip 3 : Entity-Relationship model and so on.
What is Caching? What are the various cache update strategies available in caching?
Tip 1 : Caching refers to the process of storing file copies in a temporary storage location called cache which helps in accessing data more quickly thereby reducing site latency
What do you understand by Leader Election?
Tip 1 : n a distributed environment where there are multiple servers contributing to the availability of the application, there can be situations where only one server has to take lead for updating third-party APIs as different servers could cause problems while using the third-party APIs

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: