Filter interviews by
Clear (1)
Mutable data types can be changed after creation, while non-mutable data types cannot be changed.
Mutable data types in Python include lists and dictionaries.
Non-mutable data types in Python include tuples and strings.
Changing a mutable data type will modify the original object, while changing a non-mutable data type will create a new object.
A decorator is a design pattern that allows behavior to be added to individual objects, either statically or dynamically, without affecting the behavior of other objects.
Decorators are functions that take another function and extend its behavior without explicitly modifying it.
They are commonly used in Python to add functionality to existing functions or classes.
Example: Adding logging to a function using a decorator.
I am familiar with design patterns such as Singleton, Factory, Observer, and MVC.
Singleton pattern ensures a class has only one instance and provides a global point of access to it.
Factory pattern creates objects without specifying the exact class of object that will be created.
Observer pattern defines a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and up...
Design a system for a company in hospitality
Implement a centralized reservation system for booking rooms, tables, and other services
Incorporate a customer feedback system to gather reviews and ratings for continuous improvement
Include a staff scheduling and management module to efficiently allocate resources
Integrate a payment gateway for secure transactions and invoicing
Utilize data analytics to track customer prefere
Implemented threads in a multi-threaded application to improve performance and concurrency.
Implemented threads in a multi-threaded application to handle multiple tasks concurrently
Used threads to improve performance by parallelizing tasks
Implemented threads in a web server to handle multiple client requests simultaneously
posted on 2 Dec 2015
posted on 13 May 2017
I was interviewed before May 2016.
I was interviewed in Dec 2016.
posted on 13 Mar 2015
Code for rand7 using rand5 function
Use rand5 twice to generate a number in [1,25] with equal probability
If the number is greater than 21, discard and try again
Otherwise, return (number mod 7) + 1
LRU cache is implemented using a doubly linked list and a hash map.
Create a doubly linked list to keep track of the order of elements in the cache.
Create a hash map to store the key-value pairs of the cache.
When a new element is added, check if the cache is full. If it is, remove the least recently used element from the linked list and the hash map.
When an element is accessed, move it to the front of the linked list to...
Function to randomly select pivot element in Quick Sort
Generate a random index within the range of the array
Return the element at the randomly generated index as the pivot
I have a strong background in software engineering and a passion for innovation, making me a valuable asset to HSBC.
I have a proven track record of successfully delivering high-quality software solutions in previous roles.
I am highly skilled in various programming languages and technologies, including Java, Python, and SQL.
I have experience working in agile development environments, allowing me to adapt quickly to chan...
based on 2 interviews
Interview experience
based on 7 reviews
Rating in categories
Associate
3.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Manager
2.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Manager
1.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate
1.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Vice President
1.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
JPMorgan Chase & Co.
Goldman Sachs
TCS
Deloitte