Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Snapdeal Team. If you also belong to the team, you can get access from here

Snapdeal Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Snapdeal Senior Software Developer Interview Questions and Answers

Updated 10 May 2015

Snapdeal Senior Software Developer Interview Experiences

1 interview found

Interview Preparation Tips

Round: Test
Experience: Lots of puzzles and algo’s. The interviewer didn’t let me write code for anything, the moment I say efficient algorithm he moved next question.Q1. A tree is represented in the form of array. Where index(i) of the array represent value of a node and the value inside(A[i]) represent the parent index of the tree.
Value corresponding to root is -1. Construct the tree.
For Eg: 1,-1,1,2,3,1 index 1 is root, with three children at indexes (0, 2 and 5) and index 3 is a child of 2, index 4 is a child of index 3
Initially I did it O(n*n) and later with the help of extra space O(n), I did it in O(n)Q2. We played a game, there are n coins where each player has to pick up coins min 1 and max 6 one by one and the person who picks the last coin is the looser
something like -----
We played two such sets and both times the interviewer won and he asked me to find the logic behind it, luckily I could crack it using the two sample games I played.Q3. -----.php?op=2&id=9653&comm=0
After long discussion I could answer this as well, with some hints.
Total Questions: 3

Round: Round 2:
Experience: This round was a mix of core java and Designing
Q1. Categories of different books in a library is stored in database as
Category => String Name ,String Id,String ParentCategory_Id
Null ->Physics->Electronics->Current
Categories are infinite and sub categories are infinite
All Categories with the parentCategory_Id null are the first level categories, and under each such category we will have multiple sub categories.He will give me an array_list with these tuples and I have to generate entire tree.I wrote a class Node{ String Id, String name, List children } and I return a node with null name and null Id as the root.Q2. A user logged in a page and the load balancer is sending each request of a user to different servers(instances). I want session_data in all servers, how to do this?Q3. He asked me, if I know this. Collections.SynchronizedList(ArrayList lis)
I said no and then explained what it is and asked me to implement.

Round: Round 3:
Experience: This round went pretty good
Q1. How java files are loaded into tom cat server
Q2. How different versions of the dependency package resolve
Q3. Two classes with same name in diff package, do they overload
Q4. Two classes under same package(I told him compiler will throw error) and then asked which class will throw error first and few more generic java questions.
Q5. Asked me to design a app like ola cab.

College Name: NA

Interview questions from similar companies

Interview Preparation Tips

Round: Test
Experience: First round was a simple round which involved 10 multiple choice questions and 3 coding questions on hackerrank platform.

Round: Technical Interview
Experience: Mainly on topics like networks, data structures and algorithms, operating systems. The interviewers looked for people who have had prior experience in web development and asked questions regarding web development in depth too.
Tips: I recommend everyone to read the book titled, 'Cracking the Coding Interview' as it was helpful in my approach to an interview.

General Tips: The one major thing that would give you the edge in joining Myntra would definitely be exposure to web development. Since it is not a part of the curriculum , it's all the more important for you to familiarize yourself with web development. In fact, a few projects in the same field would put you in a very advantageous position to get the job.
Skill Tips: 1. Start your placement preparations well ahead, no point regretting later.
2. Keep a concise resume. Do not take your resume to several pages.
3. Do not neglect aptitude preparation. Many people do this mistake and end up not clearing the first round for several companies.
4. Be thorough with your basics across all subjects. (Do not neglect any subject, even they you may like a few and dislike the others.)
5. Keep in mind, the interviewers are really friendly and try to make sure that you're not nervous during the interview. All they want to do is to test you. Be confident and give it your best shot.
Skills:
College Name: NIT Surathkal

Interview Questionnaire 

10 Questions

  • Q1. What do you do when your schedule is interrupted? How you handle it?
  • Q2. PreOrder traversal without recursion?
  • Ans. 

    PreOrder traversal without recursion is done using a stack to simulate the function call stack.

    • Create an empty stack and push the root node onto it.

    • While the stack is not empty, pop a node from the stack and process it.

    • Push the right child of the popped node onto the stack if it exists.

    • Push the left child of the popped node onto the stack if it exists.

  • Answered by AI
  • Q3. Build a bst out of the unsorted array by looping over the array and inserting each element to the tree?
  • Ans. 

    Yes

    • Create an empty binary search tree (BST)

    • Loop over the unsorted array

    • For each element, insert it into the BST using the appropriate insertion logic

    • Repeat until all elements are inserted

    • The resulting BST will be built from the unsorted array

  • Answered by AI
  • Q4. Find 2 elements in array whose sum is equal to given number?
  • Ans. 

    The question asks to find two elements in an array whose sum is equal to a given number.

    • Iterate through the array and for each element, check if the difference between the given number and the current element exists in the array.

    • Use a hash set to store the elements as you iterate through the array for efficient lookup.

    • Return the pair of elements if found, otherwise return a message indicating no such pair exists.

  • Answered by AI
  • Q5. How many types of trigger?
  • Ans. 

    There are two types of triggers: DML triggers and DDL triggers.

    • DML triggers are fired in response to DML (Data Manipulation Language) statements like INSERT, UPDATE, DELETE.

    • DDL triggers are fired in response to DDL (Data Definition Language) statements like CREATE, ALTER, DROP.

    • Examples: A DML trigger can be used to log changes made to a table, while a DDL trigger can be used to enforce certain rules when a table is alt

  • Answered by AI
  • Q6. Can trigger be used with select statement?
  • Ans. 

    Yes, triggers can be used with select statements in SQL.

    • Triggers are database objects that are automatically executed in response to certain events, such as insert, update, or delete operations.

    • While triggers are commonly used with insert, update, and delete statements, they can also be used with select statements.

    • Using triggers with select statements allows you to perform additional actions or validations before or af...

  • Answered by AI
  • Q7. Indexing in mysql? How many types of indexing in mysql?
  • Ans. 

    Indexing in MySQL improves query performance. There are several types of indexing in MySQL.

    • Indexes are used to quickly locate data without scanning the entire table.

    • Types of indexing in MySQL include B-tree, hash, full-text, and spatial indexes.

    • B-tree indexes are the most common and suitable for most use cases.

    • Hash indexes are used for exact match lookups.

    • Full-text indexes are used for searching text-based data efficie...

  • Answered by AI
  • Q8. Engines in mysql?
  • Ans. 

    Engines in MySQL are the underlying software components that handle storage, indexing, and querying of data.

    • MySQL supports multiple storage engines, each with its own strengths and features.

    • Some commonly used engines in MySQL are InnoDB, MyISAM, and Memory.

    • InnoDB is the default engine in MySQL and provides support for transactions and foreign keys.

    • MyISAM is known for its simplicity and speed but lacks transaction suppo...

  • Answered by AI
  • Q9. Singlton pattern?
  • Q10. Can a constructor be private?
  • Ans. 

    Yes, a constructor can be private.

    • A private constructor can only be accessed within the class itself.

    • It is often used in singleton design pattern to restrict object creation.

    • Private constructors are also useful for utility classes that only contain static methods.

  • Answered by AI

Interview Preparation Tips

Skills: Algorithm, Data structure
College Name: na

Skills evaluated in this interview

Interview Preparation Tips

Round: Test
Experience: There were around 10 MCQ questions and 3 coding questions. Quantitative ability was tested in MCQs and programming and algorithmic skills were tested in coding questions.
Tips: Don’t try to over-optimize your algorithms if time doesn’t permit. First write a pretty decent algorithm. You will get through the written test. After that, try to optimize your algorithm only if time permits.
Total Questions: 13

Round: Technical Interview
Experience: Questions on basic data structures of Computer Science. Basic tree algorithms with coding. Some analytical questions.
Tips: In all the interviews, try to be as confident as possible. Sometimes they will just see your confidence and they will take you through that round. So be confident and be happy.

Skill Tips: CGPA > 7.5, decent algorithmic skills and coding skills, good analytical skills. No computer science in-depth knowledge is required. They didn’t consider any extra-academic involvement. Maths ability such as probability was required. Quantitative ability was required in Written Test. Proficiency with any programming language was enough. You should be able to explain your BTP project in full details. For internship, apart from project related technical knowledge, you should have an idea of the business relevance of the project. Try to prepare with people giving CAT. This will help enormously.
Skills: Coding
College Name: IIT KHARAGPUR

Interview Questionnaire 

1 Question

  • Q1. General coding-related questions

Interview Preparation Tips

Round: Technical Interview
Experience: The interview mainly focused on coding of which I had very less preparation and was out of my curriculum. I also interviewed with Samsung and got selected there.

College Name: IIT KANPUR

Interview Preparation Tips

Round: Resume Shortlist
Experience: I had a standard resume for this company as per our institute placement cell norms.For any software company in general, do mention all software projects you have done and languages/software packages you know.

Round: Test
Experience: The first round of the selection process was a written test which comprised of two sections. The first section had aptitude based/puzzle based problems. Questions were tricky and didn’t require any calculation. Some of the questions were
(1) Form all numbers from 1 to 10 using four 4’s and the basic arithmetic operations +,–  ,* and /(2) Pick the odd one out from a given series.(3) Complete the series (a series with the starting alphabet of days in a week was given).(4) How many knights can you place on a standard chess board so that no piece can attack any other piece?Subjective answers had to be given with proper explanation for the same.The second section was based on C/C++ programming. There were three questions. The first one required the candidate to write the output of a given program. The next question was based on simple if-else statements while the last question was based on circular queues. All questions in this section were easy if the candidate has decent enough programming skills.

Total time for both the sections was 1 hour. There was no marking scheme and short listing was done based on the overall response of the candidate. Some particular questions or parts of questions, however, were considered more important by the company, and candidates answering those questions and a few others correctly, were shortlisted for the next round.

Round: HR Interview
Experience: The first round was a 1 to 1 interview wherein the interviewer tried to put me under pressure by pointing out mistakes in my answers to written test and making me solve the questions which I had not attempted in the written test. He also asked me about my family background, why I think I should be shortlisted for the next round etc.

Round: Technical Interview
Experience: The next interview was a purely technical interview. The interviewer asked me about the programming languages I had worked on. No question was asked from languages other than those I mentioned. There were some standard questions about data structures and their implementation using C++. As I had worked on a couple of websites, the interviewer asked me questions related to HTML/CSS/PHP/MySQL/JavaScript. I was also asked to show one of the websites I had designed on the internet and the interviewer asked me a few questions about it. Except for a few, questions were very basic and easy for someone with good programming skills.

Round: HR Interview
Experience: The final interview mostly had HR questions. The interviewer talked at length about my interest in sports, my favourite sportsman and why. He also questioned me regarding the websites I had worked on, other extracurricular activities and what did I learn from them, what do I know about eBay and how would I be able to contribute to it if I am selected.
Tips: Revise programming concepts. Do not panic even if the interviewer tries to put you under pressure.

College Name: IIT ROORKEE
Motivation: eBay is a renowned company. I didn't have much idea about the job profile on offer. However I did know that it was in the field of website and software development. I also found a lot of information about the company through the company’s Wikipedia page.

Interview Preparation Tips

College Name: IIT ROORKEE

Interview Preparation Tips

Round: Resume Shortlist
Experience: I had a standard resume for this company as per our institute placement cell norms. For any software company in general, do mention all software projects you have done and languages/software packages you know.

Round: Test
Experience: The first round of the selection process was a written test which comprised of two sections. The first section had aptitude based/puzzle based problems. Questions were tricky and didn’t require any calculation. Some of the questions were
1) Form all numbers from 1 to 10 using four 4’s and the basic arithmetic operations +,–  ,* and /. 2) Pick the odd one out from a given series. 3) Complete the series (a series with the starting alphabet of days in a week was given). 4) How many knights can you place on a standard chess board so that no piece can attack any other piece? Subjective answers had to be given with proper explanation for the same.
 The second section was based on C/C++ programming. There were three questions. The first one required the candidate to write the output of a given program. The next question was based on simple if-else statements while the last question was based on circular queues. All questions in this section were easy if the candidate has decent enough programming skills.
Total time for both the sections was 1 hour. There was no marking scheme and short listing was done based on the overall response of the candidate. Some particular questions or parts of questions, however, were considered more important by the company, and candidates answering those questions and a few others correctly, were shortlisted for the next round.

Round: HR Interview
Experience: The first round was a 1 to 1 interview wherein the interviewer tried to put me under pressure by pointing out mistakes in my answers to written test and making me solve the questions which I had not attempted in the written test. He also asked me about my family background, why I think I should be shortlisted for the next round etc.

Round: Technical Interview
Experience: The interviewer asked me about the programming languages I had worked on. No question was asked from languages other than those I mentioned. There were some standard questions about data structures and their implementation using C++. As I had worked on a couple of websites, the interviewer asked me questions related to HTML/CSS/PHP/MySQL/JavaScript. I was also asked to show one of the websites I had designed on the internet and the interviewer asked me a few questions about it. Except for a few, questions were very basic and easy for someone with good programming skills.

Round: HR Interview
Experience: The final interview mostly had HR questions. The interviewer talked at length about my interest in sports, my favourite sportsman and why. He also questioned me regarding the websites I had worked on, other extracurricular activities and what did I learn from them, what do I know about eBay and how would I be able to contribute to it if I am selected.
Tips: Revise programming concepts. Do not panic even if the interviewer tries to put you under pressure.

College Name: IIT ROORKEE
Motivation: EBay is a renowned company. I didn’t have much idea about the job profile on offer. However I did know that it was in the field of website and software development. I also found a lot of information about the company through the company’s Wikipedia page.

Interview Questionnaire 

16 Questions

  • Q1. Let us assume there are 3 baskets with different number of balls say p,q and r. Every ball has a number written on it. Now, you have to take all those balls and put them back in baskets in sorted way.?(Mer...
  • Ans. 

    Merge sort algorithm can be used to sort the balls in each basket and then merge the sorted baskets.

    • Apply merge sort algorithm to sort the balls in each basket

    • Merge the sorted baskets to get the final sorted order

    • Use recursion to implement merge sort

    • Time complexity of merge sort is O(nlogn)

  • Answered by AI
  • Q2. What is Mutual Exclusion?
  • Ans. 

    Mutual Exclusion is a technique to ensure that only one process at a time can access a shared resource.

    • It prevents race conditions and ensures data consistency.

    • It can be implemented using locks, semaphores, or monitors.

    • Examples include critical sections in multi-threaded programs and database transactions.

    • It can lead to performance issues if not implemented efficiently.

  • Answered by AI
  • Q3. What is multithreading and Difference between process and thread?
  • Ans. 

    Multithreading is the ability of a CPU to execute multiple threads concurrently. A process is an instance of a program in execution.

    • Multithreading allows multiple threads to run concurrently within a single process.

    • Threads share the same memory space and resources of the process they belong to.

    • Processes are independent of each other and have their own memory space and resources.

    • Threads are lightweight compared to proce...

  • Answered by AI
  • Q4. What is Semaphore?
  • Ans. 

    Semaphore is a synchronization object used to control access to a shared resource.

    • Semaphore is used to limit the number of threads accessing a shared resource.

    • It can be used to implement critical sections and avoid race conditions.

    • Semaphore can be binary or counting, depending on the number of resources available.

    • Examples of semaphore in programming languages include Java's Semaphore class and Python's threading.Semaph

  • Answered by AI
  • Q5. There are three threads have been assigned different work. Say, T1 takes 10 sec T2 takes 20sec t3 takes 15sec Now you have to make sure that all threads merge into one and continue as a single thread. How ...
  • Ans. 

    Wait for completion of all threads and join them into a single thread.

    • Use join() method to wait for completion of each thread.

    • Create a new thread and call start() method to start the execution of all threads.

    • Use sleep() method to pause the execution of the current thread until all threads complete their execution.

  • Answered by AI
  • Q6. Let’s say you have 100,000 records and you want to delete 95,000 at a time and keep only 5 thousand. But in local memory you don’t have enough space for 95,000 records. What do you do in this case? How do ...
  • Ans. 

    To delete 95,000 records with limited local memory, use batch processing and delete in chunks.

    • Use batch processing to delete records in chunks

    • Delete records in descending order of their IDs to avoid index fragmentation

    • Commit the transaction after deleting each batch to avoid long-running transactions

    • Consider archiving the deleted records instead of permanently deleting them

  • Answered by AI
  • Q7. Function ‘sum’ which takes arguments, such that if both args are: int : does integer addition float : does float addition string : concatenates them Write a program in ‘C’ that does the same?
  • Ans. 

    Program in C to implement a function 'sum' that performs integer addition, float addition, and string concatenation based on the input arguments.

    • Define the function 'sum' with two arguments of type 'void *'.

    • Use 'if-else' statements to check the data type of the arguments.

    • Perform integer addition if both arguments are of type 'int'.

    • Perform float addition if both arguments are of type 'float'.

    • Concatenate the strings if b...

  • Answered by AI
  • Q8. Write SQL Query for creating tables?
  • Ans. 

    SQL query for creating tables

    • Use CREATE TABLE statement

    • Specify table name and column names with data types

    • Add constraints like primary key, foreign key, etc.

    • Example: CREATE TABLE customers (id INT PRIMARY KEY, name VARCHAR(50), email VARCHAR(50))

  • Answered by AI
  • Q9. What about NESTED TABLES?
  • Ans. 

    Nested tables are tables within tables, used to organize and store complex data structures.

    • Nested tables are commonly used in databases to store arrays of data within a single row of a table.

    • They can also be used in programming languages to create multidimensional arrays.

    • Accessing data within a nested table requires using multiple levels of indexing.

    • Nested tables can improve data organization and simplify complex data

  • Answered by AI
  • Q10. What are views?
  • Ans. 

    Views are virtual tables that display data from one or more tables in a database.

    • Views are created using SELECT statements.

    • They can be used to simplify complex queries.

    • They can also be used to restrict access to sensitive data.

    • Views do not store data themselves, but rather display data from underlying tables.

    • Changes made to the underlying tables are reflected in the view.

  • Answered by AI
  • Q11. About my projects?
  • Q12. Tell me about yourself
  • Ans. 

    I am a software developer with experience in multiple programming languages and a passion for problem-solving.

    • Proficient in Java, Python, and C++

    • Experience with web development using HTML, CSS, and JavaScript

    • Familiarity with Agile development methodologies

    • Strong problem-solving and analytical skills

    • Excellent communication and teamwork abilities

  • Answered by AI
  • Q13. You have an embedded system device. Okay? So you are given some numbers from 1-100 and unique. Now, sort these numbers?
  • Q14. Evaluate Postfix expression?
  • Ans. 

    Postfix expression can be evaluated using a stack data structure.

    • Create an empty stack

    • Scan the expression from left to right

    • If the scanned character is an operand, push it onto the stack

    • If the scanned character is an operator, pop two operands from the stack, perform the operation and push the result back

    • Repeat until the end of the expression

    • The final result is the top of the stack

  • Answered by AI
  • Q15. Where do you see yoyurself in 5 years? et
  • Ans. 

    In 5 years, I see myself as a senior software developer leading a team of developers to create innovative solutions.

    • Leading a team of developers to create innovative solutions

    • Continuing to learn and stay up-to-date with new technologies

    • Contributing to the growth and success of the company

    • Mentoring and coaching junior developers

    • Taking on more responsibilities and challenges

  • Answered by AI
  • Q16. Why Ebay?
  • Ans. 

    Ebay is a leading e-commerce platform with a global reach and a diverse range of products.

    • Ebay has a large and diverse customer base, providing opportunities to work on a variety of projects.

    • The company has a strong focus on innovation and technology, which aligns with my interests and skills.

    • Ebay offers a dynamic and fast-paced work environment, which I find exciting and challenging.

    • The company has a strong reputation...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: There were 30 questions out of which 50% was based on java and c++, the rest from verbal and quantitative stuff.The key areas to focus on are:
· OOPS-all concepts, contructors etc
· Database-sql queries and normal basics stuff about schemas etc
· Networks- subnetting, various routing protocols, about mac address
· Probability ans Statistics
Duration: 30 minutes

Skills: Algorithm, OS, Data structure
College Name: Na

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Why do you want to join eBay?
  • Ans. 

    I want to join eBay because of its global reach, innovative technology, and strong company culture.

    • Global reach: eBay operates in multiple countries, allowing me to work on projects with a global impact.

    • Innovative technology: eBay is known for its cutting-edge technology and continuous innovation, which excites me as a software engineer.

    • Strong company culture: eBay values diversity, collaboration, and personal growth, ...

  • Answered by AI

Interview Preparation Tips

Round: Resume Shortlist
Experience: I had a standard resume for this company as per our institute placement cell norms. eBay interviewers were not much concerned about the resume but they would surely browse through it and ask you questions from it. So it’s better to write genuine stuff rather than bluffing about things you have not actually done.

Round: Test
Experience: The first round was the written test. The test consisted of two sections one dedicated to the programming questions and the other to the logical reasoning questions. The paper was tough or so to say very unique. The programming questions were based on stacks and queues. One question was asked on circular queue. In logical section one of the questions that I remember was to derive numbers from 1 to 10 using only 4 four’s with the help of any of the mathematical operations. Other logical questions were more or less similar to this. There was also a general aptitude section which was comparatively simpler.

Round: HR Interview
Experience: This round was an H.R. interview round.He reviewed my resume and asked me some questions based on that. It was sort of a stress round as the interviewer was pushing me for answers.

Round: Technical Interview
Experience: In this they tested my programming and data structure knowledge. In data structure I was asked that, if there was a duplicate entry in a given link list then how would I find it. He also asked about the virtual functions and exception handling. He also inquired about the project that I had worked upon – I walked of a coding project in which I had used some unconventional algorithms.
Tips: Good knowledge of data structure and database management may prove helpful. They are more concerned about your knowledge. If you are good at web coding then it is always an added advantage.

College Name: IIT ROORKEE

Tell us how to improve this page.

Interview Questions from Similar Companies

Amazon Interview Questions
4.1
 • 5k Interviews
Flipkart Interview Questions
4.0
 • 1.3k Interviews
Swiggy Interview Questions
3.8
 • 428 Interviews
Udaan Interview Questions
4.0
 • 334 Interviews
Meesho Interview Questions
3.7
 • 328 Interviews
Myntra Interview Questions
4.0
 • 214 Interviews
Blinkit Interview Questions
3.7
 • 181 Interviews
BlackBuck Interview Questions
3.8
 • 176 Interviews
Spinny Interview Questions
3.7
 • 170 Interviews
FirstCry Interview Questions
3.6
 • 169 Interviews
View all
Snapdeal Senior Software Developer Salary
based on 7 salaries
₹9 L/yr - ₹21 L/yr
15% more than the average Senior Software Developer Salary in India
View more details
Assistant Manager
102 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Category Manager
93 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Executive
89 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Deputy Manager
59 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Software Engineer
49 salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Snapdeal with

Flipkart

4.0
Compare

Amazon

4.1
Compare

Meesho

3.7
Compare

eBay

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