Tip 1: Focus on building a strong foundation in core concepts like Python, Django, and SQL before moving to advanced topics.
Tip 2: Practice implementing real-world projects to gain hands-on experience.
Tip 3: Revise key interview topics like OOPs, APIs, and database queries regularly.
Tip 1: Include relevant projects that showcase your technical skills and problem-solving ability.
Tip 2: Keep your resume concise and highlight technologies or frameworks mentioned in the job description.
I had to complete this round before 22nd October, as it was an online aptitude test conducted on the Mettle platform. It was a good experience, and I successfully cleared the round.



1. If ‘k’ is not present in 'arr', then print -1.
2. There are no duplicate elements present in 'arr'.
3. 'arr' can be rotated only in the right direction.
Input: 'arr' = [12, 15, 18, 2, 4] , 'k' = 2
Output: 3
Explanation:
If 'arr' = [12, 15, 18, 2, 4] and 'k' = 2, then the position at which 'k' is present in the array is 3 (0-indexed).
Step 1: I first thought about using a normal binary search, but it didn’t work properly because the array was rotated and not fully sorted.
Step 2: Then I realized that even after rotation, one half of the array (either left or right) remains sorted.
Step 3: I modified the binary search logic — in every iteration, I checked which half is sorted and then decided whether to search in that half or the other one based on the target’s value.
Step 4: This way, I was able to reduce the search space by half in each step and finally find the target in O(log n) time complexity.



1. You can not slant the container i.e. the height of the water is equal to the minimum height of the two lines which define the container.
2. Do not print anything, you just need to return the area of the container with maximum water.

For the above Diagram, the first red marked line is formed between coordinates (2,0) and (2,10), and the second red-marked line is formed between coordinates (5,0) and (5,9). The area of water contained between these two lines is (height* width) = (5-2)* 9 = 27, which is the maximum area contained between any two lines present on the plane. So in this case, we will return 3* 9=27.
Step 1: I first thought of using a brute-force approach by checking every possible pair of lines to calculate the area, but that gave an O(n²) solution and wasn’t efficient.
Step 2: To optimize it, I used the two-pointer approach — one pointer at the start (left) and one at the end (right).
Step 3: I calculated the area using the formula area = min(height[left], height[right]) * (right - left), and then moved the pointer which had the smaller height inward.
Step 4: I repeated this process until both pointers met. This gave the maximum area in O(n) time.
The second round was a face-to-face virtual interview conducted during the daytime. The environment was quite comfortable and professional. The interviewer was polite and made me feel at ease before starting the technical questions.
Most of the discussion revolved around Python, Django, REST APIs, and FastAPI, along with some questions about ReactJS and overall project experience. The interviewer also asked a few scenario-based questions to understand my problem-solving approach.
Even though I wasn’t able to answer a few questions related to FastAPI and ReactJS, it was a good learning experience. The interviewer was friendly and gave helpful feedback during the conversation.
Explain how Django ORM works and write a query for fetching data using filters and annotations. (Learn)
The interviewer also asked about the difference between select_related and prefetch_related.
Explain how do you create REST APIs using Django REST Framework — including serializers, viewsets, and how to handle authentication. I also had to describe how I handle validation and error responses.
I was given a small scenario to design a database schema for a hotel booking system. The interviewer wanted to check my understanding of relationships like one-to-many and many-to-many (Learn), along with how to optimize queries.



S = “hello”
Explanation :
The reverse of the string ‘S’ is “olleh”.
Since the project involved FastAPI, I was asked how FastAPI differs from Django, how routing and dependency injection work, and how I would handle async requests.
They asked me to explain one of my past projects in detail — including its architecture, what challenges I faced, how I implemented APIs, and how I optimized performance in the backend.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?