Upload Button Icon Add office photos

Filter interviews by

RaRa Delivery Sde1 Interview Questions and Answers

Updated 27 Apr 2022

16 Interview questions

A Sde1 was asked
Q. Implement a queue using a linked list.
Ans. 

Queue can be implemented using a singly linked list where insertion happens at the tail and deletion at the head.

  • Create a Node class with data and next pointer

  • Create a Queue class with head and tail pointers

  • Enqueue operation: create a new node and add it to the tail of the list

  • Dequeue operation: remove the node at the head of the list and update the head pointer

  • Peek operation: return the data at the head of the li...

A Sde1 was asked
Q. Explain polymorphism with an example.
Ans. 

Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were of the same class.

  • Polymorphism is achieved through method overriding and method overloading.

  • Method overriding is when a subclass provides its own implementation of a method that is already provided by its parent class.

  • Method overloading is when a class has two or more methods with th...

Sde1 Interview Questions Asked at Other Companies

Q1. DSA and Language Questions: 1. Difference between Arrays and Arra ... read more
asked in Park Plus
Q2. 1. What is a doubly-linked list? And real-world applications.
asked in Amazon
Q3. Given process IDs (pid) and parent process IDs (ppid), and a proc ... read more
Q4. Given a point and a circle, how would you determine if the point ... read more
asked in Amazon
Q5. Given an array, determine if there exists a subarray with a given ... read more
A Sde1 was asked
Q. Write a function to rotate an array by k positions.
Ans. 

Array rotation is the process of shifting the elements of an array to the left or right.

  • To rotate an array to the left, move the first element to the end of the array and shift the remaining elements to the left.

  • To rotate an array to the right, move the last element to the beginning of the array and shift the remaining elements to the right.

  • The number of rotations can be specified by the user.

  • Example: If the array...

A Sde1 was asked
Q. How can binary search be performed on a rotated array?
Ans. 

Binary search in a rotated array can be done by finding the pivot point and then applying binary search on the two subarrays.

  • Find the pivot point by comparing mid element with the first and last elements of the array

  • Apply binary search on the two subarrays formed by the pivot point

  • Repeat until the element is found or the subarray is empty

  • Time complexity is O(log n)

  • Example: [4,5,6,7,0,1,2], target=0. Pivot point is...

A Sde1 was asked
Q. Write a recursive function to generate the Fibonacci sequence.
Ans. 

Fibonacci number generation using recursion

  • Define a function that takes an integer as input

  • If the input is 0 or 1, return the input

  • Else, return the sum of the function called with input-1 and input-2

  • Call the function with the desired input

A Sde1 was asked
Q. What are the differences between Arrays and ArrayLists in Java?
Ans. 

Arrays are fixed in size while ArrayLists can dynamically grow or shrink.

  • Arrays are of fixed size while ArrayLists can be resized dynamically.

  • Arrays can hold primitive data types while ArrayLists can only hold objects.

  • Arrays are faster than ArrayLists for accessing elements.

  • ArrayLists have built-in methods for adding, removing, and sorting elements.

  • Example: int[] arr = new int[5]; ArrayList<String> list = ne...

A Sde1 was asked
Q. Explain reflection in Java.
Ans. 

Reflection in Java allows inspection and modification of runtime behavior of a program.

  • Reflection is achieved through classes in the java.lang.reflect package.

  • It allows access to class information, constructors, methods, and fields at runtime.

  • Reflection can be used to create new objects, invoke methods, and access or modify fields.

  • Example: Class c = Class.forName("java.lang.String");

  • Example: Method m = c.getDec...

Are these interview questions helpful?
A Sde1 was asked
Q. Write a recursive function to print Fibonacci numbers up to the nth term without using loops.
Ans. 

Printing Fibonacci numbers using recursion only

  • Define a recursive function that takes two arguments, n and a list to store the Fibonacci sequence

  • Base case: if n is 0 or 1, return the list

  • Recursive case: append the sum of the last two elements in the list to the list and call the function with n-1

  • Call the function with n and an empty list to start the sequence

  • Print the list of Fibonacci numbers

A Sde1 was asked
Q. You are given a linked list where each node contains an additional random pointer, which could point to any node in the list or null. Construct a deep copy of the list.
Ans. 

Clone a linked list with a random pointer.

  • Create a new node for each node in the original list

  • Store the mapping of original node to new node in a hash table

  • Set the random pointer of each new node based on the mapping

  • Traverse the original list and the new list simultaneously to set the next pointers

A Sde1 was asked
Q. How would you construct a balanced BST from a sorted array?
Ans. 

To fill a BST with a sorted array, we can use a recursive approach.

  • Find the middle element of the array and make it the root of the BST

  • Recursively construct the left subtree using the left half of the array

  • Recursively construct the right subtree using the right half of the array

RaRa Delivery Sde1 Interview Experiences

2 interviews found

Sde1 Interview Questions & Answers

user image Anonymous

posted on 19 Apr 2022

I applied via Company Website

Round 1 - Technical 

(19 Questions)

  • Q1. Difference between Arrays & ArrayLists in Java?
  • Ans. 

    Arrays are fixed in size while ArrayLists can dynamically grow or shrink.

    • Arrays are of fixed size while ArrayLists can be resized dynamically.

    • Arrays can hold primitive data types while ArrayLists can only hold objects.

    • Arrays are faster than ArrayLists for accessing elements.

    • ArrayLists have built-in methods for adding, removing, and sorting elements.

    • Example: int[] arr = new int[5]; ArrayList<String> list = new Arr...

  • Answered by AI
  • Q2. Queue Implementation using Linked List?
  • Ans. 

    Queue can be implemented using a singly linked list where insertion happens at the tail and deletion at the head.

    • Create a Node class with data and next pointer

    • Create a Queue class with head and tail pointers

    • Enqueue operation: create a new node and add it to the tail of the list

    • Dequeue operation: remove the node at the head of the list and update the head pointer

    • Peek operation: return the data at the head of the list wi...

  • Answered by AI
  • Q3. BST- How will you fill a BST with a sorted Array?
  • Ans. 

    To fill a BST with a sorted array, we can use a recursive approach.

    • Find the middle element of the array and make it the root of the BST

    • Recursively construct the left subtree using the left half of the array

    • Recursively construct the right subtree using the right half of the array

  • Answered by AI
  • Q4. Random pointers linked- list clone?
  • Q5. Fibonacci number generation using recursion.
  • Ans. 

    Fibonacci number generation using recursion

    • Define a function that takes an integer as input

    • If the input is 0 or 1, return the input

    • Else, return the sum of the function called with input-1 and input-2

    • Call the function with the desired input

  • Answered by AI
  • Q6. What is the fastest sorting algorithm?
  • Ans. 

    The fastest sorting algorithm is QuickSort.

    • QuickSort has an average time complexity of O(n log n).

    • It is a divide and conquer algorithm that recursively partitions the array.

    • It is widely used in practice and has many variations such as randomized QuickSort.

    • Other fast sorting algorithms include MergeSort and HeapSort.

  • Answered by AI
  • Q7. Clone a linked list with a random pointer.
  • Ans. 

    Clone a linked list with a random pointer.

    • Create a new node for each node in the original list

    • Store the mapping of original node to new node in a hash table

    • Set the random pointer of each new node based on the mapping

    • Traverse the original list and the new list simultaneously to set the next pointers

  • Answered by AI
  • Q8. Print Fibonacci numbers until the nth term using only recursion (no loop allowed)
  • Ans. 

    Printing Fibonacci numbers using recursion only

    • Define a recursive function that takes two arguments, n and a list to store the Fibonacci sequence

    • Base case: if n is 0 or 1, return the list

    • Recursive case: append the sum of the last two elements in the list to the list and call the function with n-1

    • Call the function with n and an empty list to start the sequence

    • Print the list of Fibonacci numbers

  • Answered by AI
  • Q9. Show reflection in java.
  • Ans. 

    Reflection in Java allows inspection and modification of runtime behavior of a program.

    • Reflection is achieved through classes in the java.lang.reflect package.

    • It allows access to class information, constructors, methods, and fields at runtime.

    • Reflection can be used to create new objects, invoke methods, and access or modify fields.

    • Example: Class c = Class.forName("java.lang.String");

    • Example: Method m = c.getDeclared...

  • Answered by AI
  • Q10. Random Pointer questions
  • Q11. Print pair with given sum.
  • Ans. 

    Given an array of integers and a target sum, find a pair of integers that add up to the target sum.

    • Create a hash table to store the difference between the target sum and each element in the array

    • Iterate through the array and check if the current element is present in the hash table

    • If it is, return the current element and its corresponding hash table value as the pair that adds up to the target sum

    • If no such pair is fou...

  • Answered by AI
  • Q12. How does Binary search be done in a rotated array?
  • Ans. 

    Binary search in a rotated array can be done by finding the pivot point and then applying binary search on the two subarrays.

    • Find the pivot point by comparing mid element with the first and last elements of the array

    • Apply binary search on the two subarrays formed by the pivot point

    • Repeat until the element is found or the subarray is empty

    • Time complexity is O(log n)

    • Example: [4,5,6,7,0,1,2], target=0. Pivot point is 3. B...

  • Answered by AI
  • Q13. Binary search method
  • Q14. During Binary search, what if negative elements were there in an Array as well how would you search a specific element and time complexity for the same.
  • Ans. 

    Negative elements in array won't affect binary search. Time complexity remains O(log n).

    • Binary search works by dividing the array into two halves and comparing the middle element with the target element.

    • If the middle element is greater than the target, search in the left half, else search in the right half.

    • Negative elements won't affect this process as long as the array is sorted.

    • Time complexity remains O(log n) as the...

  • Answered by AI
  • Q15. Show the Array Rotation
  • Ans. 

    Array rotation is the process of shifting the elements of an array to the left or right.

    • To rotate an array to the left, move the first element to the end of the array and shift the remaining elements to the left.

    • To rotate an array to the right, move the last element to the beginning of the array and shift the remaining elements to the right.

    • The number of rotations can be specified by the user.

    • Example: If the array is [...

  • Answered by AI
  • Q16. Polymorphism with Example
  • Ans. 

    Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were of the same class.

    • Polymorphism is achieved through method overriding and method overloading.

    • Method overriding is when a subclass provides its own implementation of a method that is already provided by its parent class.

    • Method overloading is when a class has two or more methods with the sam...

  • Answered by AI
  • Q17. Overloading vs Overriding
  • Ans. 

    Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in the subclass with the same name and parameters as in the superclass.

    • Overloading is compile-time polymorphism while overriding is runtime polymorphism.

    • Overloading is used to provide different ways of calling the same method while overriding is used to provide a specific implementation of a method in the s...

  • Answered by AI
  • Q18. Plane & Fuel Puzzles .
  • Q19. Two uniform wires totally burnt in a total of 30 minutes. How will you measure 45 minutes?
Round 2 - Project 

(1 Question)

  • Q1. You may be asked about the project mentioned in your CV
Round 3 - Technical 

(2 Questions)

  • Q1. If there is a linked list and some of the nodes have a random pointer, pointing to a different node of the same list, randomly pointing to some other pointer. Your goal is to make a copy of this list, or c...
  • Q2. There will be a discussion after this round on your salary expectations
Round 4 - HR 

(3 Questions)

  • Q1. Why should we hire you?
  • Q2. What are your salary expectations?
  • Q3. Discussion on the what the company does.

Interview Preparation Tips

Topics to prepare for RaRa Delivery Sde1 interview:
  • DSA, OOPS, Puzzles
Interview preparation tips for other job seekers - DSA is extremely important. Linked list is a must. Keep a cool head during the interview, no need to be nervous. Be confident during the entire interview process. While explaining the approach, try and explain using small examples that would be great. If you are not confident about a problem you can say that you are not confident about that problem, no need to worry much about it, they will ask you another question instead. They want to check your DSA knowledge during the interview and the question were easy to medium level.

Skills evaluated in this interview

Sde1 Interview Questions & Answers

user image Anonymous

posted on 27 Apr 2022

Round 1 - Technical 

(3 Questions)

  • Q1. DSA and Language Questions: 1. Difference between Arrays and ArrayList in Java. 2. Queue Implementation using Linked List. 3. BST- How would you fill a BST with a sorted array. 4. Random pointer linked...
  • Ans. 

    A list of technical questions related to data structures and algorithms in Java.

    • Arrays are fixed in size while ArrayLists can dynamically grow and shrink.

    • Queue can be implemented using a linked list by adding elements to the end and removing from the front.

    • To fill a BST with a sorted array, we can recursively divide the array in half and add the middle element as the root.

    • Random pointer linked-list clone can be done by...

  • Answered by AI
  • Q2. OOPS: 1. Polymorphism with example 2. Overloading vs overriding
  • Ans. 

    Polymorphism is the ability of an object to take on many forms. Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in the superclass.

    • Polymorphism allows objects to be treated as if they are of different types. For example, a parent class reference can be used to refer to a child class object.

    • Overlo...

  • Answered by AI
  • Q3. Puzzles: 1. Plane and Fuel Puzzle 2. Two uniform wires completely burned in a total of 30 mins. How will you measure 45 mins
Round 2 - Technical 

(1 Question)

  • Q1. DSA and Language questions: 1. If there is a Linked List and some of the nodes have a random pointer, pointing to a different node of the same list, randomly pointing to some other pointer. Your goal is t...
Round 3 - HR 

(1 Question)

  • Q1. The duration of this round is approximately 20-30 minutes. The discussion revolved around the work that the company does and how the work you will be doing and how they will distribute the salary and so on...

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA is extremely Important. Linked List is a must. Keep a cool head during the interview, no need to be nervous. Be Confident during the entire interview process. While explaining the approach, try and explain using small examples that would be great. If you are not confident about a problem you can say that you are not confident about that problem, no need to worry much about it, they will ask you another question instead. They want to check your DSA knowledge during the interview and the questions were easy to medium level.

Skills evaluated in this interview

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about RaRa Delivery?
Ask anonymously on communities.

Interview questions from similar companies

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 12 Aug 2017

I appeared for an interview in Aug 2017.

Interview Questionnaire 

17 Questions

  • Q1. -----/ But here the main thing is that handling of corner cases like when there are duplicate tickets and when there is no proper path possible with given tickets
  • Q2. -----/
  • Q3. N queen problem with problem statement and dry running of code with 4 queens and then writing the code
  • Q4. Sub set problem(Check if there exists any sub array with given sum in the array ) . But the thing here is that we have to do it with space complexity of only O( 1 K ) . K is the sum given .
  • Q5. What is NP hardness .
  • Ans. 

    NP hardness refers to the difficulty of solving a problem in non-deterministic polynomial time.

    • NP-hard problems are some of the most difficult problems in computer science.

    • They cannot be solved in polynomial time by any known algorithm.

    • Examples include the traveling salesman problem and the knapsack problem.

  • Answered by AI
  • Q6. What is the difference between references and pointers
  • Q7. What is difference between reference variable and actual reference
  • Ans. 

    A reference variable is a variable that holds the memory address of an object, while an actual reference is the object itself.

    • A reference variable is declared with a specific type and can only refer to objects of that type.

    • An actual reference is the object itself, which can be accessed and manipulated using the reference variable.

    • Changing the value of a reference variable does not affect the original object, but changi...

  • Answered by AI
  • Q8. In this round he asked me about previous round questions and their time complexities also . and with every DS and Algo related questions they asked the time complexities
  • Q9. Segmentation , virtual memory , paging
  • Q10. 0-1 Knapsack problem
  • Ans. 

    The 0-1 Knapsack problem involves maximizing value within a weight limit using items that can either be included or excluded.

    • Dynamic Programming approach is commonly used to solve this problem.

    • Each item has a weight and a value; you cannot take fractional items.

    • Example: If you have items with weights [1, 2, 3] and values [10, 15, 40], and a capacity of 6, the maximum value is 55.

    • The solution involves creating a table t...

  • Answered by AI
  • Q11. What happens when we type an URL
  • Ans. 

    When we type an URL, the browser sends a request to the server hosting the website and retrieves the corresponding webpage.

    • The browser parses the URL to extract the protocol, domain, and path.

    • It resolves the domain name to an IP address using DNS.

    • The browser establishes a TCP connection with the server.

    • It sends an HTTP request to the server.

    • The server processes the request and sends back an HTTP response.

    • The browser re...

  • Answered by AI
  • Q12. Implementation of LRU (WIth Production level code)
  • Ans. 

    Implementation of LRU cache using a doubly linked list and a hash map.

    • LRU (Least Recently Used) cache is a data structure that stores a fixed number of items and evicts the least recently used item when the cache is full.

    • To implement LRU cache, we can use a doubly linked list to maintain the order of items based on their usage frequency.

    • We can also use a hash map to store the key-value pairs for quick access and retrie...

  • Answered by AI
  • Q13. Given page access sequence and we have to tell final output using different page replacement algorithms like FIFO , LRU etc
  • Ans. 

    Explaining page replacement algorithms like FIFO and LRU using a given page access sequence.

    • FIFO (First-In-First-Out): Replaces the oldest page in memory.

    • Example: Access sequence [1, 2, 3, 1, 2, 4] with 3 frames results in [1, 2, 4].

    • LRU (Least Recently Used): Replaces the page that hasn't been used for the longest time.

    • Example: Access sequence [1, 2, 3, 1, 2, 4] with 3 frames results in [2, 3, 4].

    • Optimal: Replaces the ...

  • Answered by AI
  • Q14. What is indexing in DBMS How do we maintain it
  • Ans. 

    Indexing in DBMS is a technique to improve query performance by creating a data structure that allows faster data retrieval.

    • Indexing is used to speed up data retrieval operations in a database.

    • It involves creating a separate data structure that maps the values of a specific column to their corresponding records.

    • This data structure is called an index.

    • Indexes are typically created on columns that are frequently used in s...

  • Answered by AI
  • Q15. B trees , B+ trees with examples
  • Q16. AVL trees with examples and their balancing
  • Q17. Pid ={3,5,0,1} ppid ={5,4,2,2} process id(pid) ppid=parent process id let us say the process that we killed is 2 now we have to print 2,0,1 as 0,1 are child of 2 and suppose that if we have children f...
  • Ans. 

    Given a list of process IDs and their corresponding parent process IDs, print the IDs of all processes that are children of a specific process ID, and recursively kill all their children.

    • Iterate through the list of process IDs and parent process IDs

    • Check if the current process ID is the one to be killed

    • If yes, recursively find and print all its children

    • If a child has further children, recursively kill them as well

  • Answered by AI

Interview Preparation Tips

Round: WRITTEN
Experience: It is a written round .

We are given with 2 coding questions of 10 marks each .There is no negative marking for coding questions

1)Given a string you have to partition the string in such a manner that each part of the partitioned string is a palindrome in itself and you have to count the number of such partition

For eg: given string NITIN
N ITI N
N I T I N
NITIN
So output will be 3.

2)You are given with a large paragraph and N words.
You have to find a min length subparagraph of the paragraph which contain all those N words in any order. Here length of a paragraph is the count of words in the paragraph.

There are 20 MCQ's all are technical questions only majorly from DSA
Tips: Coding it comes from practice . And for aptitude be good at fundamentals like time complexities etc .

Round: Technical Interview
Experience: Some times luck in interview is also important .I was unable to solve the second question initially ,but later with the help of my interviewer I was able to solve it .
Tips: Even if you are not able to solve the question initially don't be panic it will definitely go well

Round: Technical Interview
Experience: There are so many other questions . But sorry to say that I don't remember all of them ,if I remember them at some other time I will again update it here .

This round interviewer was very nice person And he is very helpful in fact .
Tips: Have solid basics at all data structures and algorithms ,Operating Systems


Round: Technical Interview
Experience: This round is entirely about other CS subjects like OS , DBMS,Networking .

Here asked me do you know other CS subjects like compiler design etc .
But as I am from Electronics I told them that I don't know all those subjects
Tips: Be good at other Cs subjects also

Round: Technical Interview
Experience: I solved above question Using DFS .I constructed a Graph using given information . and I did DFS starting from Given process .In the graph I took each process as 1 Node and the corresponding parent child relationship between the process as edges .
Tips: They will give sufficient time for thinking of the solution . So don't worry immediately after seeing the question . First think well you will definitely get it

Skills: Algorithms And DataStructures, Algorithm Analysis, Operating Systems, Basic Knowledge Of DBMS, Networking Basics, Object Oriented Programming (OOP) Basics
College Name: MNIT

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 2 Nov 2022

I applied via Company Website and was interviewed before Nov 2021. There were 3 interview rounds.

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 - Aptitude Test 

General Leet Code Question and it was easy

Round 3 - Coding Test 

General coding question which was from difficult

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • leetcode
  • Python
Interview preparation tips for other job seekers - Prepare Amazon Principles and also leet code.
Good to know system designs and more.

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 11 Aug 2022

I applied via LinkedIn and was interviewed in Jul 2022. There were 2 interview rounds.

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. Linux Networking Programming

Interview Preparation Tips

Interview preparation tips for other job seekers - Linux (core) Networking (IP and Subnet) Programming (OOP)

Sde1 Interview Questions & Answers

Amazon user image Rhea Mehta

posted on 8 Aug 2022

I applied via Campus Placement and was interviewed in Jul 2022. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. You are given a family tree, and a node, you have to print all the nodes on the same level as it.
  • Ans. 

    Given a node in a family tree, print all nodes on the same level.

    • Traverse the tree level by level using BFS

    • Keep track of the level of each node while traversing

    • Print all nodes with the same level as the given node

    • Example: If the given node is 'John', print all his siblings and cousins

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The interviewer will be friendly and will be there to help you throughout, stay calm, revise your basics of tree/graph/array/strings and you'll do good. Focus mainly on tree/graph questions as almost everyone got asked at least one question relating to that.

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 18 Aug 2022

I applied via Campus Placement and was interviewed before Aug 2021. There were 2 interview rounds.

Round 1 - Coding Test 

2 coding questions were asked, 1 invloves sorting and manipulation and the other one was trees question.

Round 2 - One-on-one 

(3 Questions)

  • Q1. 1 trees question and 1 priority queue question
  • Q2. Connect n ropes with minimum cost(priority queue question)
  • Ans. 

    Connect n ropes with minimum cost using priority queue

    • Create a priority queue and insert all the ropes into it

    • Pop the two smallest ropes from the queue and connect them

    • Insert the new rope into the queue and repeat until only one rope remains

    • The cost of connecting two ropes is the sum of their lengths

    • Time complexity: O(nlogn)

    • Example: Ropes of lengths 4, 3, 2, and 6 can be connected with a cost of 29

  • Answered by AI
  • Q3. Find the height of the tree when the leaf nodes are connected with each other
  • Ans. 

    The height of the tree can be found by counting the number of edges from the root to the farthest leaf node.

    • Count the number of edges from the root to the farthest leaf node

    • This will give the height of the tree

    • Example: If the farthest leaf node is 4 edges away from the root, the height of the tree is 4

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • Data Structures
  • OOPS
Interview preparation tips for other job seekers - Practicing Data Structures and Algorithms is must.

Skills evaluated in this interview

Are these interview questions helpful?

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 3 Jul 2023

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

I applied via Referral and was interviewed in Jun 2023. There were 5 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 - Coding Test 

2 questions of leetcode medium level
And also has to write the steps of the approaches

Round 3 - Technical 

(1 Question)

  • Q1. Leet code medium of array and dp
  • Ans. 

    Dynamic programming problem involving arrays of strings.

    • Use dynamic programming to efficiently solve problems by breaking them down into smaller subproblems.

    • Consider using a 2D array to store intermediate results for optimal substructure.

    • Examples: Longest Common Subsequence, Word Break, Minimum Path Sum.

  • Answered by AI
Round 4 - Technical 

(1 Question)

  • Q1. Leetcode medium of DP and behavioural questions
Round 5 - Technical 

(1 Question)

  • Q1. Leetcode medium questions and behavioural questions

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • Dp
  • Array
  • Recursion
  • Behavioural questions
Interview preparation tips for other job seekers - I was applied for SDE1. The maximum focus was on coding. Its not tough to crack. Just explain the approaches from brute to more optimise properly

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 31 Dec 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Dec 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Coding test on Amazon own website

Round 2 - One-on-one 

(2 Questions)

  • Q1. Depends on interviewer
  • Q2. Depends on interviewer
Round 3 - One-on-one 

(2 Questions)

  • Q1. Depends on interviewer
  • Q2. Depends on interviewer

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 3 Feb 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 - Coding Test 

Prepare from hackerrank array and trees problems

Interview Preparation Tips

Interview preparation tips for other job seekers - work on ds and algo as they focus more on this knowledge

RaRa Delivery Interview FAQs

How many rounds are there in RaRa Delivery Sde1 interview?
RaRa Delivery interview process usually has 3-4 rounds. The most common rounds in the RaRa Delivery interview process are Technical and HR.

Tell us how to improve this page.

Sde1 Interview Questions from Similar Companies

Amazon Sde1 Interview Questions
4.0
 • 30 Interviews
Accenture Sde1 Interview Questions
3.8
 • 3 Interviews
TCS Sde1 Interview Questions
3.6
 • 2 Interviews
Jio Sde1 Interview Questions
4.1
 • 2 Interviews
Flipkart Sde1 Interview Questions
3.9
 • 2 Interviews
Infosys Sde1 Interview Questions
3.6
 • 1 Interview
BYJU'S Sde1 Interview Questions
3.1
 • 1 Interview
View all
Software Development Engineer
4 salaries
unlock blur

₹15 L/yr - ₹16.5 L/yr

Product Manager
4 salaries
unlock blur

₹22 L/yr - ₹30 L/yr

Senior Software Engineer
4 salaries
unlock blur

₹24 L/yr - ₹28 L/yr

HR Associate
3 salaries
unlock blur

₹4 L/yr - ₹4.5 L/yr

Explore more salaries
Compare RaRa Delivery with

TCS

3.6
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare
write
Share an Interview