Tip 1 : Participate in live contests on websites like CodeStudio as much as possible.
Tip 2 : Practice previous interview questions from CodeStudio.
Tip 3 : Revise Computer Science subjects like DBMS, OOPS thoroughly.
Tip 1 : Try to list only those projects in your resume regarding which you're comfortable talking in depth.
Tip 2 : Always be honest about whatever you mention in your resume.
Tip 3 : Keep it 1 pager.
Tip 4 : Don't add your picture in the resume, instead use that space to put something more useful.



1. The integers x,y and z might not be distinct , but they should be present at different locations in the array i.e if a[i] = x, a[j] = y and a[k] = z, then i,j and k should be pairwise distinct.
2. The integers a,b and c can be present in any order in the given array.
1. Sorted the array.
2. Took all the pairs and performed binary Search / Put all the pair sum in a Hashmap and checked each index individually for that sum.



Given array/list can contain duplicate elements.
(arr[i],arr[j]) and (arr[j],arr[i]) are considered same.



For eg - Wear Socks then Wear Shoes Brush before Wear Socks
Output - Brush Wear Socks Wear Shoes



1. A palindrome is a word, number, phrase, or another sequence of characters that reads the same backward as forward, such as madam, racecar, 1234321, etc.
2. The numerical value of the given string S will be greater than 0.
3. A single-digit number is also considered a palindrome.
4. The answer number should not contain any leading zeros, except for the case when the answer is 0.
5. Note that the length of the string is nothing but the number of digits in N.



1. add(DATA) :
This function should take one argument of type and store it in its pool and returns the 'kth' largest number from the current pool of integers.
val - For this query, insert the integer into your current pool of integers and return the 'kth' largest integer from the existing pool of integers.
1. The maximum number of integers that will be given will always be under memory limits.
2. You will also be given an initial pool of integers whose size equals k.
3. The maximum number of queries will be less than 10^5.
4. The 'kth' largest element is not the 'kth' distinct element but the 'kth' largest element in the sorted order.
5. There will be at least one query of type 2.



The width of each bar is the same and is equal to 1.
Input: ‘n’ = 6, ‘arr’ = [3, 0, 0, 2, 0, 4].
Output: 10
Explanation: Refer to the image for better comprehension:

You don't need to print anything. It has already been taken care of. Just implement the given function.

The given formula consists of English alphabets, digits, ‘(‘ and ’)’.
The given formula is always valid.

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?