Tip 1 : Good at coding (solving, explaining), especially Dynamic Programming questions like knapsack. Focus 70% time on coding
Tip 2 : Apply to jobs through referral, not on the company site. Very important.
Tip 3 : Prepare good projects along with how to explain them in an interview.
Tip 1 : Max three, projects, which are interesting to talk about, and you have won something for it.
Tip 2 : Leave a lot of white space, keep content small and on one page
This round had 2 coding questions of Easy to Medium level of difficulty followed by a brief discussion about my projects



Key idea - 2 pointer method
Approach - place one pointer p1 on start, 2nd pointer p2 on end. Move p1 to right and p2 to left unless we find a non special character for both, if found for both, swap the values pointed by p1 and p2.
Steps:
S1: Pointer p1 at start and p2 at end index
S2: While p1! = p2 and arr[p1] is special character, move p1 to right
S3: While p1! = p2 and arr[p2] is special character, move p2 to left
S4: Swap values pointed by index p1 and p2.
S5: Follow above steps until p1 < p2.



Consider ARR = [“coding”, ”codezen”, ”codingninja”, ”coders”]
The longest common prefix among all the given strings is “cod” as it is present as a prefix in all strings. Hence, the answer is “cod”.
Approach - Using Binary Search - In this approach, we will first find the string with the minimum length among all the strings in the array and store it as prefix because the shortest string is the longest possible common prefix. We will also define a function isCommon(ARR, prefix, length, N) to whether the string prefix is a common prefix for all the strings in the array ARR or not. We will start the search by setting start as 0 and end as the length of prefix. At each iteration, we will set mid as (start+end)/2. Each time search space is divided into two equal parts, one of them is discarded because it is sure that it doesn't contain the solution.
This round had questions mainly from Python, Django and DBMS
How is memory managed in Python?
What are decorators in Python?
What is Django ORM?
Explain the caching strategies in the Django?
What is database indexing?
What is hashing?
How is hashing done?
Why time complexity of hashing is O(1)
What is a sandbox?
What are Python namespaces? Why are they used?

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?