Upload Button Icon Add office photos

Swiggy

Compare button icon Compare button icon Compare

Filter interviews by

Swiggy Sde1 Interview Questions and Answers

Updated 16 Jul 2024

Swiggy Sde1 Interview Experiences

2 interviews found

Sde1 Interview Questions & Answers

user image Anonymous

posted on 16 Jul 2024

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Referral and was interviewed before Jul 2023. There were 3 interview rounds.

Round 1 - Coding Test 

Design splitwise. Low Level question. More like Machine Coding

Round 2 - Coding Test 

Question on Strings and DP

Round 3 - HM Round 

(2 Questions)

  • Q1. DynamoDB Working
  • Q2. General Discussion regarding projects in previous firm

Sde1 Interview Questions & Answers

user image Anonymous

posted on 6 Feb 2023

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

I applied via Referral and was interviewed before Feb 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - HR 

(2 Questions)

  • Q1. Asked Likes and dislikes
  • Q2. Question related to company

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn and grow, and work hard and work hard , Make

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. pid ={3,5,0,1} ppid ={5,4,2,2} process id(pid) ppid=parent proces ... read more
Q4. Given one point and circle how will you find if it's inside circl ... read more
asked in Amazon
Q5. N queen problem with problem statement and dry running of code wi ... read more

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 

16 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. N queen problem with problem statement and dry running of code with 4 queens and then writing the code
  • Ans. 

    N queen problem is to place N queens on an NxN chessboard without any two queens threatening each other.

    • The problem can be solved using backtracking algorithm

    • Start with placing a queen in the first row and move to the next row

    • If no safe position is found, backtrack to the previous row and try a different position

    • Repeat until all queens are placed or no safe position is found

    • Code can be written in any programming langua...

  • Answered by AI
  • Q3. 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 .
  • Ans. 

    Check if there exists any sub array with given sum in the array with O(1K) space complexity.

    • Use two pointers to traverse the array and maintain a current sum.

    • If the current sum is greater than the given sum, move the left pointer.

    • If the current sum is less than the given sum, move the right pointer.

    • If the current sum is equal to the given sum, return true.

  • Answered by AI
  • Q4. 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
  • Q5. What is the difference between references and pointers
  • Ans. 

    References and pointers are both used to access memory locations, but references cannot be null and cannot be reassigned.

    • Pointers can be null and can be reassigned to point to different memory locations.

    • References are automatically dereferenced, while pointers need to be explicitly dereferenced.

    • Pointers can perform arithmetic operations, while references cannot.

    • Example: int x = 5; int *ptr = &x; int &ref = x;

    • Example: i

  • Answered by AI
  • Q6. 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
  • Q7. 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
  • Q8. Segmentation , virtual memory , paging
  • Q9. 0-1 Knapsack problem
  • Q10. 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
  • Q11. 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
  • Q12. Given page access sequence and we have to tell final output using different page replacement algorithms like FIFO , LRU etc
  • Q13. 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
  • Q14. B trees , B+ trees with examples
  • Ans. 

    B trees and B+ trees are data structures used for efficient storage and retrieval of data in databases.

    • B trees are balanced trees with a variable number of child nodes per parent node. They are commonly used in databases to store large amounts of data.

    • B+ trees are a variant of B trees where all data is stored in the leaf nodes, and the internal nodes only contain keys. They are commonly used in databases for indexing.

    • B...

  • Answered by AI
  • Q15. AVL trees with examples and their balancing
  • Ans. 

    AVL trees are self-balancing binary search trees. They maintain a balance factor to ensure height balance.

    • AVL trees are named after their inventors, Adelson-Velsky and Landis.

    • They are height-balanced, meaning the difference in height between left and right subtrees is at most 1.

    • Insertion and deletion operations may cause imbalance, which is corrected by rotations.

    • AVL trees have a worst-case time complexity of O(log n) ...

  • Answered by AI
  • Q16. 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

Blinkit user image Anonymous

posted on 14 Jan 2025

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Referral and was interviewed in Jul 2024. There was 1 interview round.

Round 1 - Coding Test 

Hackerrank - 3 questions 2 hrs

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

I applied via Referral and was interviewed before Jan 2024. There were 3 interview rounds.

Round 1 - Coding Test 

1 HR of coding round, 2 problems asked. One on stack, one on DP.

Round 2 - Coding Test 

Machine coding round where LLD implementation of a cab booking system was asked.

Round 3 - Behavioral 

(2 Questions)

  • Q1. Past projects were discussed at length
  • Q2. Behavioural questions were asked

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 1 Jul 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

1. Question on Graph LC-Hard 2. Question on BFS LC-Medium

Round 2 - One-on-one 

(2 Questions)

  • Q1. 1. Minimum platforms GFG
  • Q2. Find missing number in array without extra space
  • Ans. 

    Find missing number in array without extra space

    • Iterate through the array and XOR all the elements with their indices and the actual numbers

    • The missing number will be the XOR result

    • Example: ['1', '2', '4', '5'] -> XOR(0, 1) ^ XOR(1, 2) ^ XOR(2, 4) ^ XOR(3, 5) = 3

  • Answered by AI
Round 3 - One-on-one 

(2 Questions)

  • Q1. Question on Heap
  • Q2. Implement Heap in C++
  • Ans. 

    Implementing Heap data structure in C++

    • Use an array to represent the binary tree structure of the heap

    • Implement functions for inserting elements, deleting elements, and heapifying the array

    • Ensure that the heap property is maintained (parent node is always greater than or equal to its children)

  • Answered by AI
Round 4 - One-on-one 

(2 Questions)

  • Q1. Implement LRU Cache
  • Ans. 

    LRU Cache is a data structure that stores a fixed number of items and removes the least recently used item when the cache is full.

    • Use a combination of a doubly linked list and a hashmap to efficiently implement LRU Cache.

    • Keep track of the least recently used item at the tail of the linked list.

    • When an item is accessed, move it to the head of the linked list to mark it as the most recently used item.

    • When adding a new it...

  • Answered by AI
  • Q2. Discussion on CV and previous projects
Round 5 - One-on-one 

(1 Question)

  • Q1. Easy LLD question

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 11 Oct 2021

I applied via Referral and was interviewed in Apr 2021. There were 4 interview rounds.

Interview Questionnaire 

5 Questions

  • Q1. 2 variable variation of LIS
  • Ans. 

    2 variable variation of LIS

    • The problem involves finding the longest increasing subsequence in two arrays

    • Dynamic programming can be used to solve the problem

    • The time complexity of the solution is O(n^2)

    • Example: Given two arrays [1, 3, 5, 4] and [2, 4, 3, 5], the longest increasing subsequence is [3, 5]

    • Example: Given two arrays [10, 22, 9, 33, 21, 50, 41, 60] and [5, 24, 39, 60, 15, 28, 27, 40], the longest increasing su

  • Answered by AI
  • Q2. House robber 3
  • Ans. Solved it with top down dp
  • Answered Anonymously
  • Q3. Search in rotated sorted array
  • Ans. 

    Search for an element in a rotated sorted array.

    • Use binary search to find the pivot point where the array is rotated.

    • Compare the target element with the first element of the array to determine which half to search.

    • Perform binary search on the selected half to find the target element.

    • Time complexity: O(log n), Space complexity: O(1).

  • Answered by AI
  • Q4. First non repeating character in continuous character stream
  • Ans. 

    Find the first non-repeating character in a continuous character stream.

    • Use a hash table to keep track of character frequency.

    • Iterate through the stream and check if the current character has a frequency of 1.

    • If yes, return the character as the first non-repeating character.

    • If no non-repeating character is found, return null or a default value.

  • Answered by AI
  • Q5. One priority queue question

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare Data structures and algorithms well, Answer managerial questions using STAR methodologies.

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 16 Nov 2021

I applied via Campus Placement and was interviewed in May 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. Medium DSA questions based on trees, linked lists and 1 graph

Interview Preparation Tips

Interview preparation tips for other job seekers - DSA was the only thing needed in my interview so being consistent with Leetcode, giving weekly contests(at least attempting Hard level qns even if not completing them) was really helpful.

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 15 Mar 2022

Round 1 - Coding Test 

Leetcode medium problems

Round 2 - One-on-one 

(1 Question)

  • Q1. Find middle of linkedlist add 2 numbers
  • Ans. 

    To find the middle of a linked list, use two pointers - one moving twice as fast as the other. To add two numbers, traverse both lists simultaneously and add corresponding digits.

    • Use two pointers to find the middle of the linked list - one moving twice as fast as the other

    • To add two numbers represented by linked lists, traverse both lists simultaneously and add corresponding digits

    • If the sum of two digits is greater th

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - keep on trying, you will reach there

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Flipkart user image Anonymous

posted on 24 Jun 2024

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Coding Test 

3 DSA questions were there in the coding round

Round 2 - Technical 

(2 Questions)

  • Q1. DSA based question
  • Q2. DSA question medium level

Swiggy Interview FAQs

How many rounds are there in Swiggy Sde1 interview?
Swiggy interview process usually has 2-3 rounds. The most common rounds in the Swiggy interview process are Coding Test, HR and Resume Shortlist.
What are the top questions asked in Swiggy Sde1 interview?

Some of the top questions asked at the Swiggy Sde1 interview -

  1. question related to comp...read more
  2. DynamoDB Work...read more

Tell us how to improve this page.

Swiggy Sde1 Interview Process

based on 2 interviews

Interview experience

4
  
Good
View more

Sde1 Interview Questions from Similar Companies

Amazon Sde1 Interview Questions
4.1
 • 30 Interviews
Flipkart Sde1 Interview Questions
4.0
 • 2 Interviews
Blinkit Sde1 Interview Questions
3.7
 • 1 Interview
Meesho Sde1 Interview Questions
3.7
 • 1 Interview
Zepto Sde1 Interview Questions
3.5
 • 1 Interview
Uber Sde1 Interview Questions
4.2
 • 1 Interview
View all
Swiggy Sde1 Salary
based on 53 salaries
₹10 L/yr - ₹36.5 L/yr
At par with the average Sde1 Salary in India
View more details

Swiggy Sde1 Reviews and Ratings

based on 3 reviews

3.5/5

Rating in categories

4.5

Skill development

3.0

Work-life balance

4.0

Salary

3.4

Job security

3.7

Company culture

3.5

Promotions

3.6

Work satisfaction

Explore 3 Reviews and Ratings
Delivery Boy
875 salaries
unlock blur

₹0.4 L/yr - ₹5 L/yr

Fleet Manager
580 salaries
unlock blur

₹2.5 L/yr - ₹6 L/yr

Sales Manager
565 salaries
unlock blur

₹2 L/yr - ₹9 L/yr

Assistant Manager
499 salaries
unlock blur

₹3 L/yr - ₹13.6 L/yr

Assistant Store Manager
452 salaries
unlock blur

₹1.5 L/yr - ₹4.2 L/yr

Explore more salaries
Compare Swiggy with

Zomato

3.8
Compare

Dunzo

3.4
Compare

FoodPanda

3.7
Compare

Rapido

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