Upload Button Icon Add office photos

Filter interviews by

Caw Studios SDE-2 Interview Questions and Answers

Updated 6 Oct 2023

Caw Studios SDE-2 Interview Experiences

1 interview found

SDE-2 Interview Questions & Answers

user image Rishabh Sharma

posted on 5 Oct 2023

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Sep 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Assignment 

Just gave me an assignment based on reactjs where have to implement cart, order approval, print the list of items, product edit modal (quantity & price) and search features.

Round 3 - Technical 

(2 Questions)

  • Q1. Service Worker vs Web Workers in JS
  • Ans. 

    Service Worker runs in the background and handles network requests, while Web Workers run scripts in parallel to the main thread.

    • Service Worker is used for caching and handling network requests in the background.

    • Web Workers are used for running scripts in parallel to the main thread to improve performance.

    • Service Workers can intercept and cache network requests, making web apps faster and more reliable.

    • Web Workers can ...

  • Answered by AI
  • Q2. Hoisting in JS, Closures, Temporal Dead Zone, Hooks: useRef, useMemo and useCallback and custom hooks in reactjs
Round 4 - Technical 

(1 Question)

  • Q1. SSR, CSR in NextJS, how does it work internally and many advance questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare the core concepts of JS and ReactJS

Skills evaluated in this interview

Interview questions from similar companies

I appeared for an interview before May 2021.

Round 1 - Telephonic Call 

(1 Question)

Round duration - 30 minutes
Round difficulty - Medium

  • Q1. 

    Remove Consecutive Duplicates Problem Statement

    Given a string S, your task is to recursively remove all consecutive duplicate characters from the string.

    Input:

    String S

    Output:

    Output string

    Constr...

  • Ans. 

    Recursively remove consecutive duplicate characters from a string.

    • Use recursion to check if the current character is the same as the next character, if so, skip the next character

    • Base case: if the string is empty or has only one character, return the string

    • Recursive case: if the current character is the same as the next character, call the function recursively with the string excluding the next character

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 90 minutes
Round difficulty - Easy

  • Q1. 

    Reverse String Operations Problem Statement

    You are provided with a string S and an array of integers A of size M. Your task is to perform M operations on the string as specified by the indices in array A...

  • Ans. 

    Perform a series of reverse string operations on a given string based on specified indices.

    • Iterate through the array of indices and reverse the substring of the string based on the given indices.

    • Ensure to reverse the substring from the starting index to len(S) - starting index - 1.

    • Continue the operations in the sequence specified by the array of indices to get the final string.

  • Answered by AI
Round 3 - HR 

Round duration - 50 minutes
Round difficulty - Medium

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in BangaloreEligibility criteria60%Tech Mahindra interview preparation:Topics to prepare for the interview - Java, Data Structures, Oops Concept, Angular, Basic fundamental of Computer ScienceTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Prepare well for resume & confidence for basic part of CS.
Tip 2 : Good knowledge of skills set which mentioned in CV.
Tip 3 : Explain about projects which you have worked earlier & your roles and responsibilities.

Application resume tips for other job seekers

Tip 1 : Mentioned all the skills & certificate till date update your resume every 3 month's. 
Tip 2 : Proper skills set with project explanation and duration of project which you have worked on

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

Amazon user image Anonymous

posted on 2 Apr 2015

Interview Questionnaire 

10 Questions

  • Q1. Find sum of all numbers that are formed from root to leaf path (code) expected time complexity O(n)
  • Ans. 

    Find sum of all numbers formed from root to leaf path in a binary tree

    • Traverse the binary tree using DFS

    • At each leaf node, add the number formed from root to leaf path to a sum variable

    • Return the sum variable

    • Time complexity: O(n)

    • Example: For a binary tree with root value 1, left child 2 and right child 3, the sum would be 12 + 13 = 25

  • Answered by AI
  • Q2. Given a string you need to print all possible strings that can be made by placing spaces (zero or one) in between them. For example : ABC -> A BC, AB C, ABC, A B C
  • Ans. 

    Given a string, print all possible strings that can be made by placing spaces (zero or one) in between them.

    • Use recursion to generate all possible combinations of spaces

    • For each recursive call, either add a space or don't add a space between the current character and the next character

    • Base case is when there are no more characters left to add spaces between

    • Time complexity is O(2^n) where n is the length of the string

  • Answered by AI
  • Q3. Preorder traversal without using recursion
  • Ans. 

    Preorder traversal without recursion

    • Use a stack to keep track of nodes

    • Push right child first and then left child onto stack

    • Pop top of stack and print value

    • Repeat until stack is empty

  • Answered by AI
  • Q4. There is a 12 km road and a contractor who is in-charge of repairing it. Contractor updates you about the work which is done in patches. Like “Road between 3.2 km to 7.9 km repaired ”, “Road between 1.21 k...
  • Ans. 

    Find longest continuous patch on a 12 km road with updates in patches

    • Maintain a variable to keep track of current patch length

    • Update the variable whenever a new patch is added

    • Maintain a variable to keep track of longest patch so far

    • Compare current patch length with longest patch length and update if necessary

    • Use a sorted data structure like a binary search tree to store the patches for efficient search

    • Time complexity: ...

  • Answered by AI
  • Q5. Several Questions were asked from my project
  • Q6. Find median of an unsorted array. (code
  • Ans. 

    Find median of an unsorted array.

    • Sort the array and find the middle element

    • Use quickselect algorithm to find the median in O(n) time

    • If the array is small, use brute force to find the median

  • Answered by AI
  • Q7. General discussion on heaps
  • Q8. A stream of characters is coming, at any moment you have to tell ‘k’ elements closest to a given number (code)
  • Ans. 

    Find 'k' elements closest to a given number from a stream of characters.

    • Use a priority queue to keep track of closest elements.

    • Update the queue as new characters come in.

    • Return the 'k' closest elements from the queue.

  • Answered by AI
  • Q9. Design data structure that supports insert(), remove(), find-max(), delete-max() operations. All operations should run in O(1) time. Lots of discussion was there, discussed many approaches.
  • Ans. 

    Design a data structure with O(1) insert, remove, find-max, and delete-max operations.

    • Use a doubly linked list to maintain the elements in sorted order.

    • Use a hash table to store the pointers to the nodes in the linked list.

    • Maintain a pointer to the maximum element in the hash table.

    • Update the pointers in the hash table when inserting or removing elements.

    • Update the maximum pointer when deleting or inserting the maximum

  • Answered by AI
  • Q10. Check whether given link list represents palindrome
  • Ans. 

    Check if a given linked list is a palindrome.

    • Traverse the linked list and store the values in an array.

    • Compare the first and last elements of the array, then move towards the center.

    • If all elements match, the linked list is a palindrome.

    • Alternatively, use two pointers to find the middle of the linked list and reverse the second half.

    • Compare the first half with the reversed second half to check for a palindrome.

  • Answered by AI

Interview Preparation Tips

Round: Technical Interview
Experience: Recently I attended Amazon Bangalore interview for SDE 2 position. All f2f and no phone/written screening as I had attended one before and cleared those. Total 4 rounds wer der. The first techh round dey asked mi questions listed above.
Tips: NA

Round: Technical Interview
Experience: ROUND 2 dey asked mi above questions
Tips: NA

Round: Technical Interview
Experience: Round 3 Above questions wer asked.

Round: Technical Interview
Experience: This was the last round. thy asked mi above questions

College Name: NA

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

Genpact user image Anonymous

posted on 17 May 2022

I appeared for an interview before May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 60 minutes
Round difficulty - Easy

It is online round and it was conducted around 11 AM on campus. Difficulty was medium. 2 coding questions were asked. One question is based on arrays(easy) and the other question is based on usage of oops concepts like Inheritance, polymorphism. Everything went smooth.

  • Q1. 

    Subarray With Given Sum Problem Statement

    Given an array ARR of N integers and an integer S, determine if there exists a contiguous subarray within the array with a sum equal to S. If such a subarray exis...

  • Ans. 

    Given an array of integers, find a subarray with a given sum S.

    • Use a sliding window approach to find the subarray with the given sum.

    • Keep track of the current sum and adjust the window based on the sum.

    • Return the start and end indices of the subarray if found, otherwise return [-1, -1].

  • Answered by AI
Round 2 - Video Call 

(4 Questions)

Round duration - 50 minutes
Round difficulty - Medium

Round started with self introduction and discussion of project. Everything went fine.
Note: we didn't have hr round due to time constraint. You can expect hr round.

  • Q1. 

    Find the Duplicate Number Problem Statement

    Given an integer array 'ARR' of size 'N' containing numbers from 0 to (N - 2). Each number appears at least once, and there is one number that appears twice. Yo...

  • Ans. 

    Find the duplicate number in an array of integers from 0 to (N-2).

    • Iterate through the array and keep track of the frequency of each number using a hashmap.

    • Return the number with a frequency greater than 1 as the duplicate number.

  • Answered by AI
  • Q2. Can you explain the concept of normalization and its types?
  • Ans. 

    Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.

    • Normalization is used to eliminate data redundancy and ensure data integrity in a database.

    • There are different normal forms such as 1NF, 2NF, 3NF, BCNF, and 4NF.

    • Each normal form has specific rules that must be followed to ensure data is properly organized.

    • Normalization helps in reducing data anomalies and incon...

  • Answered by AI
  • Q3. Can you explain the ACID properties in the context of database management systems?
  • Ans. 

    ACID properties are essential characteristics of a transaction in a database management system.

    • Atomicity ensures that either all operations in a transaction are completed successfully or none of them are.

    • Consistency ensures that the database remains in a valid state before and after the transaction.

    • Isolation ensures that the execution of multiple transactions concurrently does not interfere with each other.

    • Durability e...

  • Answered by AI
  • Q4. Can you explain the concepts of Object-Oriented Programming (OOP) with real-life examples?
  • Ans. 

    OOP is a programming paradigm based on the concept of objects, which can contain data and code to manipulate that data.

    • OOP focuses on creating objects that interact with each other to solve complex problems.

    • Encapsulation: Objects can hide their internal state and require interactions through well-defined interfaces. Example: A car object with methods like start(), stop(), accelerate().

    • Inheritance: Objects can inherit a...

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in BangaloreEligibility criteriaAbove 7cgpaGenpact interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Operating systems, DBMS, Computer Networks, OOPSTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Don't get frustrated if not selected, keep believing yourself.
Tip 2 : Prepare data structures and algorithms well. Practice coding daily. OOPS in any programming language will do. Prefer quality of codes to quantity.
Tip 3 : If possible do a project on full stack development.

Application resume tips for other job seekers

Tip 1 : Keep it simple and try to adjust everything in one page. As a fresher it is better if you can have 2 projects in your cv.
Tip 2 : Don't add unnecessary details such as parents details.

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

Amazon user image Anonymous

posted on 16 Sep 2021

I appeared for an interview in Oct 2020.

Round 1 - Face to Face 

(3 Questions)

Round duration - 60 mins
Round difficulty - Medium

3 Questions were asked : 2- Trees and 1- Stack.
Interviewer was not receptive at all, I think this was a stress interview.

  • Q1. 

    Validate Binary Search Tree Problem Statement

    Given a binary tree with 'N' nodes, determine if it is a Binary Search Tree (BST). Return true if the tree is a BST, otherwise return false.

    Example:

    Input:
    ...
  • Ans. 

    Validate if a given binary tree is a Binary Search Tree (BST) or not.

    • Check if the left subtree of a node contains only nodes with values less than the node's value.

    • Check if the right subtree of a node contains only nodes with values greater than the node's value.

    • Ensure that both the left and right subtrees are also binary search trees.

    • Traverse the tree in-order and check if the elements are in sorted order.

    • Use a recurs...

  • Answered by AI
  • Q2. 

    Binary Tree Conversion to Greater Tree

    Given a binary tree with 'N' nodes, transform it into a Greater Tree. In this transformation, each node's value should be updated to the sum of its original value and...

  • Ans. 

    Convert a binary tree into a Greater Tree by updating each node's value to the sum of its original value and the values of all nodes greater than or equal to it.

    • Traverse the tree in reverse inorder (right, root, left) to update the nodes' values.

    • Keep track of the sum of nodes visited so far to update each node's value.

    • Recursively update the node's value by adding the sum of greater nodes to it.

  • Answered by AI
  • Q3. 

    Check for Valid Parentheses

    You are given a string STR containing only the characters "{", "}", "(", ")", "[", and "]". Your task is to determine if the parentheses in the string are balanced.

    Input:

    Th...
  • Ans. 

    Check if the given string containing only parentheses is balanced or not.

    • Use a stack to keep track of opening parentheses.

    • Iterate through the string and push opening parentheses onto the stack.

    • When a closing parenthesis is encountered, pop from the stack and check if it matches the corresponding opening parenthesis.

    • If at the end the stack is empty, return 'YES' else return 'NO'.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 mins
Round difficulty - Hard

2 Coding Questions were asked, both were of Medium to Hard Difficulty.

  • Q1. 

    Flatten Multi-Level Linked List

    You are given a multi-level linked list containing 'N' nodes. Each node has 'next' and 'child' pointers that may or may not point to other nodes. Your task is to flatten th...

  • Ans. 

    Flatten a multi-level linked list into a single linked list by rearranging the pointers.

    • Traverse the linked list and whenever a node has a child, flatten the child list and append it after the current node.

    • Update the 'next' and 'child' pointers accordingly while flattening the list.

    • Continue this process until all nodes are rearranged into a single linked list.

  • Answered by AI
  • Q2. 

    Rain Water Trapping Problem Statement

    Given an array/list ARR of size N, representing an elevation map where each element ARR[i] denotes the elevation of the i-th bar. Your task is to calculate and print ...

  • Ans. 

    Calculate the total amount of rainwater that can be trapped between given elevations in an elevation map.

    • Use two-pointer approach to keep track of left and right boundaries.

    • Calculate the trapped water by finding the minimum of left_max and right_max for each bar.

    • Subtract the current bar's height from the minimum of left_max and right_max to get the trapped water.

    • Keep updating the left_max and right_max as you iterate t

  • Answered by AI
Round 3 - Face to Face 

Round duration - 90 minutes
Round difficulty - Medium

Timing : It was late night.
How the interviewer was? He was very tired and I had to lead the discussion.
1 System Design Question was asked, had to provide - HLD, LLD, APIs.

Round 4 - Telephonic Call 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

Timing : Afternoon
How was the environment? Home
Interviewer : Hiring Manager

  • Q1. Hiring Manager Discussion

    Discussed about past Projects, challenges faced, disagreements with manager, why looking for job switch,  leadership principle questions were asked.

Round 5 - Telephonic Call 

Round duration - 60 minutes
Round difficulty - Medium

Timing - Afternoon
How was the environment? Home
How the interviewer was? Very Helpful Interviewer
Bar raiser Round - Coding + System Design + Leadership principle

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 2 in HyderabadEligibility criteria3+ years ExperienceAmazon interview preparation:Topics to prepare for the interview - DS/Algo, System Design, HLD, LLD, Behavioral questionsTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : 250 Leetcode ( Easy- 70, Medium- 150, Hard- 30) 
Tip 2 : Don't underestimate importance of good projects on your Resume.
Tip 3 : Be Confident.

Application resume tips for other job seekers

Tip 1: Resume should not be more than 1 page.
Tip 2: Have Keywords on Resume that match Job descriptions.

Final outcome of the interviewSelected

Skills evaluated in this interview

SDE-2 Interview Questions & Answers

Amazon user image Anonymous

posted on 12 Apr 2022

I applied via Recruitment Consulltant and was interviewed before Apr 2021. There were 2 interview rounds.

Round 1 - Coding Test 

2 coding questions

Round 2 - Technical 

(1 Question)

  • Q1. Ds algo round 2 medium questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well from leet code medium and few hard questions

Interview Questionnaire 

1 Question

  • Q1. All algorithms and system design

SDE-2 Interview Questions & Answers

Amazon user image Anonymous

posted on 18 Apr 2022

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(1 Question)

  • Q1. Behavioural questions related to leadership principle.

Interview Preparation Tips

Interview preparation tips for other job seekers - Nothing specific, respond back based on your experience

SDE-2 Interview Questions & Answers

Amazon user image Anonymous

posted on 9 Dec 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hacker Rank test - 4 rounds (Coding, System Design and Work style assessment, Leadership Principles)

Round 2 - Technical 

(2 Questions)

  • Q1. LC - 2 medium difficulty questions
  • Q2. System design discussion

SDE-2 Interview Questions & Answers

Amazon user image Anonymous

posted on 3 Sep 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Mar 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Amazon Online assessment which consisted of 2 coding DSA medium question

Round 2 - One-on-one 

(3 Questions)

  • Q1. Question related to TreeMap
  • Q2. Question related BFS
  • Q3. System Design - Design Feed system

Interview Preparation Tips

Interview preparation tips for other job seekers - Be ready to answer questions in 25 minuted both coding and system design

Caw Studios Interview FAQs

How many rounds are there in Caw Studios SDE-2 interview?
Caw Studios interview process usually has 4 rounds. The most common rounds in the Caw Studios interview process are Technical, Resume Shortlist and Assignment.
What are the top questions asked in Caw Studios SDE-2 interview?

Some of the top questions asked at the Caw Studios SDE-2 interview -

  1. Service Worker vs Web Workers in...read more
  2. SSR, CSR in NextJS, how does it work internally and many advance questi...read more
  3. Hoisting in JS, Closures, Temporal Dead Zone, Hooks: useRef, useMemo and useCal...read more

Tell us how to improve this page.

Caw Studios SDE-2 Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

SDE-2 Interview Questions from Similar Companies

Amazon SDE-2 Interview Questions
4.0
 • 14 Interviews
Flipkart SDE-2 Interview Questions
3.9
 • 4 Interviews
TCS SDE-2 Interview Questions
3.7
 • 3 Interviews
BYJU'S SDE-2 Interview Questions
3.1
 • 1 Interview
View all
Software Development Engineer II
20 salaries
unlock blur

₹10 L/yr - ₹20 L/yr

Software Development Engineer
16 salaries
unlock blur

₹6 L/yr - ₹18.5 L/yr

Quality Analyst
13 salaries
unlock blur

₹4 L/yr - ₹9 L/yr

Software Developer
12 salaries
unlock blur

₹6 L/yr - ₹12 L/yr

Sdet Automation Test Engineer
7 salaries
unlock blur

₹4.5 L/yr - ₹11 L/yr

Explore more salaries
Compare Caw Studios with

TCS

3.7
Compare

Accenture

3.8
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview