Tip 1: Prepare a good resume that should be ATS-friendly; this is the first step to getting a chance for an interview.
Tip 2: Prepare all technical fundamental core subjects and solve lots of problems (15-20 questions from each topic). Also, having 2-3 projects on your resume is a must.
Tip 3: Try to set up mock interviews with seniors or friends before the interview.
Tip 1: Add at least 2-3 projects and try to provide links to where you have deployed them or stored the codebase.
Tip 2: Do not write false information; you will get caught during interviews.



1. Both STR and PTR consist of English uppercase letters.
2. Length of string 'STR' will always be greater than or equal to the length of string ‘PTR’.
3. In case, there is no anagram substring, then return an empty sequence.
4. In case of more than one anagrams, return the indices in increasing order.
Tip 1: Sort the first string
Tip 2: Also, sort all words of second string
Tip 3: Now match first string with all words of second string.



L1 = 1->2->3->4->7
L2 = 2->4->6->7
ANSWER:- The answer should be 2->4->7 because 2,4, and 7 are present in both the linked lists.
This round was of 60 minute and there were one interviewer, he asked me to share my screen and open video.



Let the array be [1, 2, 3, 4, 4, 5]. In the given array ‘4’ occurs twice and the number ‘6’ is missing.
1. I used map to solve this question.
2. In map, store frequency of each element.
3. If frequency of any element is more than two, that will be our duplicate number.



In the given linked list, there is a cycle, hence we return true.

I solved this problem using "tortoise and the hare algorithm"
1. Traverse linked list using two pointers.
2. Move one pointer(slow_p) by one and another pointer(fast_p) by two.
3. If these pointers meet at the same node, then there is a loop. If pointers do not meet, then linked list doesn’t have a loop.
Answer 1: Foreign key is a field in a database table that is used to establish a link between two tables.
Answer 2: Deadlock conditions in a DBMS occur when multiple transactions are waiting for each other to release resources (e.g., locks) they hold. This arises from four necessary conditions: mutual exclusion, hold and wait, no preemption, and circular wait. When all four conditions are met, a deadlock occurs, resulting in a standstill, and DBMS employ strategies to detect and resolve them.
Answer 3: ACID Means 1. Atomicity 2. Consistency 3. Isolation 4. Durability
Tips: Prepare CS Core Subjects very deep.
This Round was the last round scheduled on zoom with HR .
1. First, she asked me to tell me about yourself.
2. She asked me some questions on core value of Publics Sapient.
3. Why do you want to work for our company?
1. I introduced myself very confidently.
2. Before HR round I had learn core values of publics sapient from their official website and I answered each question from this topic.
3. I answered why I want to work with them, I told their culture, projects, tech stack, flexibility of working attracts me.
Tip 1: Be very Confident in HR Round
Tip 2: Must have read about core values before HR round of Publics Sapient

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?