Upload Button Icon Add office photos

Filter interviews by

KHIMS - Kanpur Heart Institute & Multispecialty Hospital Sde1 Interview Questions and Answers

Be the first one to contribute and help others!

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

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 Subhash Liler

posted on 14 Nov 2022

I applied via Campus Placement and was interviewed in Oct 2022. There were 4 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 - Coding Test 

Machine learning, SQL, data structure

Round 3 - Group Discussion 

Privious problem with logical understanding , always participate in discussion with valid and clear points.

Round 4 - HR 

(3 Questions)

  • Q1. Explain one machine learning algorithm.
  • Ans. 

    Random Forest is a machine learning algorithm that builds multiple decision trees and combines their outputs.

    • Random Forest is an ensemble learning method.

    • It builds multiple decision trees and combines their outputs to make a final prediction.

    • It is used for both classification and regression tasks.

    • It is less prone to overfitting compared to a single decision tree.

    • It can handle missing values and outliers.

    • Example: predic...

  • Answered by AI
  • Q2. Algorithm for string attachment
  • Ans. 

    String attachment algorithm joins two strings together.

    • Create a new string variable to hold the result

    • Loop through the first string and add each character to the new string

    • Loop through the second string and add each character to the new string

    • Return the new string

  • Answered by AI
  • Q3. You strength and weakness

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • Machine Learning
  • Data Structures
Interview preparation tips for other job seekers - Always confident, don't choose what you not know. Always learn some key machine learning algorithma and data structure. Recently Python language are more cooperative and easy to learn so yes if you are beginner so start to leaning python.

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 14 Mar 2023

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

I applied via Referral and was interviewed before Mar 2022. There were 4 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. - 2 DSA questions Leetcode Medium - 1 Tree based and 1 Queue based. Need to dry run the solutions on their test cases. - Some Leadership principles questions
Round 3 - One-on-one 

(1 Question)

  • Q1. - 1 Leetcode Hard DSA question - Heap based question. Need to dry run the solutions on the test cases. - Some leadership,principles questions.
Round 4 - One-on-one 

(1 Question)

  • Q1. - Some Leadership principles questions. - 1 Hard Leetcode DSA question - Linkedlist based. Need to dry run teset cases

Interview Preparation Tips

Topics to prepare for Amazon Sde1 interview:
  • DSA
  • Leadership Principles
  • Trees
  • Linkedlist
  • Heaps
  • queues
  • Graph
Interview preparation tips for other job seekers - Doing Leetcode medium level questions and few hard level questions can help a lot.
Prepare for leadership principles questions as well, don't underestimate them.

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 17 Mar 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Coding Test 

Binary Search Tree Traversal, 20 min, Leetcode

Round 3 - Technical 

(3 Questions)

  • Q1. What is caching? explain in detail.
  • Ans. 

    Caching is the process of storing frequently accessed data in a temporary storage to improve performance.

    • Caching improves performance by reducing the need to fetch data from the original source.

    • It involves storing data in a temporary storage, such as memory or disk, closer to the user or application.

    • Caching can be done at various levels, including browser caching, server-side caching, and database caching.

    • Examples of c...

  • Answered by AI
  • Q2. What are POST requests?
  • Ans. 

    POST requests are a type of HTTP request method used to submit data to a server.

    • POST requests are used to create or update resources on a server.

    • They are commonly used in web forms to submit user input data.

    • POST requests have a request body that contains the data being submitted.

    • They are different from GET requests, which are used to retrieve data from a server.

    • POST requests are more secure than GET requests because th

  • Answered by AI
  • Q3. Did explain about that.

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well before applying. It will always help.

Skills evaluated in this interview

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 30 Mar 2023

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
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 - Coding Test 

45 minutes
2 medium level questions

Round 3 - One-on-one 

(2 Questions)

  • Q1. Rotten oranges srgiluskbfakbv agr vua bgG I;E OWE FKEJBiluwefbLEFskdbfhadbfil brsebkfb ;so gao;ig o b galkgrbalgb
  • Q2. 8 queen an lfabi abbglkabahblba bilub lilba l vvblab WLEKFJB AEFBIWEF KJDBAKDBVLYA Ffawejawl iubaw ;h'FO IF ;IFBA Jfkfblif ai;ur h

Interview Preparation Tips

Interview preparation tips for other job seekers - ab ia bfie;oweinfgakrjbgliE BIUWB GIEWB AD SBKB ABB bdlvkdbiagiia bladblakdjblakbl bh ldf bvlbgli

Sde1 Interview Questions & Answers

Amazon user image Anonymous

posted on 30 Dec 2022

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

I applied via LinkedIn and was interviewed in Jun 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 - Technical 

(2 Questions)

  • Q1. Tell me about yourself
  • Q2. Coding based questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Jsjsvhs svamsvamd bssmxvsn sbdnvvsksbs xhxksbshsksn

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

TCS user image Anonymous

posted on 18 Aug 2022

Round 1 - Aptitude Test 

Per question time good amoubnt of questions

Round 2 - HR 

(1 Question)

  • Q1. Easy questions based on my resume
Round 3 - Technical 

(1 Question)

  • Q1. Bvased on javba as i mentioned java in my resume

Interview Preparation Tips

Interview preparation tips for other job seekers - focus on coding and aptitude and reasoni9ng as both are needed to crack the interview

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.7
 • 2 Interviews
Jio Sde1 Interview Questions
4.0
 • 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
Compare KHIMS - Kanpur Heart Institute & Multispecialty Hospital 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