Tip 1: Focus on Core Concepts - Solidify your understanding of fundamental programming concepts, data structures, and algorithms.
Tip 2: Practice Coding - Regularly solve coding problems on coding platforms to enhance your problem-solving skills.
Tip 3: Mock Interviews - Conduct mock interviews with friends or join coding interview preparation groups to simulate real interview scenarios and receive feedback.
Tip 1: Tailor Your Resume for the specific job you are applying to
Tip 2: Keep it Concise, brief, and to the point, focusing on the most impactful achievements.
Tip 3: Use quantifiable metrics and specific accomplishments to demonstrate your contributions in previous roles (Internship if you are fresher)



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.



‘?’ – matches any single character
‘*’ – Matches any sequence of characters(sequence can be of length 0 or more)
What is the difference between a process and a thread in an operating system? (Learn)
How does virtual memory work, and what are its advantages? (Learn)
Explain the concept of deadlock in operating systems. How can it be prevented or resolved? (Learn)
What is the role of the file system in an operating system? How does it manage and organize data on storage devices? (Learn)



If the matrix is
0 2 4 1
4 8 3 7
2 3 6 2
9 7 8 3
1 5 9 4
Then answer is 47. As, Alice will collect coins 0+8+3+9+1 = 21 coins. Bob will collect coins 1+7+6+8+4 = 26 coins. Total coins is 21+26 = 47 coins.



For a given string “BaaB”
3 possible palindrome partitioning of the given string are:
{“B”, “a”, “a”, “B”}
{“B”, “aa”, “B”}
{“BaaB”}
Every substring of all the above partitions of “BaaB” is a palindrome.



List = [3, 0, 2, 1]
We have to make ‘0’ adjacent to ‘1’ and ‘2’ to ‘3’. And, to achieve this we can swap ‘0’ with ‘2’.
New list = [3, 2, 0, 1].
Therefore, the answer (minimum number of swaps) is equal to 1.
There will be only distinct numbers present in the given list.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
How do you remove whitespace from the start of a string?