Filter interviews by
I applied via LinkedIn and was interviewed in Sep 2024. There were 2 interview rounds.
One Medium level DSA question
List is mutable, tuple is immutable in Python.
List can be modified, tuple cannot be modified
List uses square brackets [], tuple uses parentheses ()
List is slower than tuple for iteration and indexing
List is used when you need a collection of items that can be changed, tuple is used for fixed collection of items
Slicing a list in Python returns a new list containing a subset of elements from the original list.
Slicing syntax: list[start:end:step]
Start index is inclusive, end index is exclusive
Omitting start index defaults to beginning of list, omitting end index defaults to end of list
Negative indices count from the end of the list
Examples: list[1:4] returns elements at index 1, 2, 3; list[:3] returns elements at index 0, 1, 2
You can create a database from Python using libraries like SQLAlchemy or Django ORM.
Use SQLAlchemy library to create a database in Python
Define database models using classes in SQLAlchemy
Use Django ORM to create a database in Python
Run database migrations to create tables in Django ORM
Top trending discussions
Logical question , English
based on 1 interview
Interview experience
3-5 Yrs
Not Disclosed
Software Developer
5
salaries
| ₹7 L/yr - ₹12 L/yr |
Software Engineer
4
salaries
| ₹6 L/yr - ₹7 L/yr |
Backend Developer
4
salaries
| ₹7 L/yr - ₹10.5 L/yr |
Android Developer
4
salaries
| ₹5 L/yr - ₹9.4 L/yr |
Developer
3
salaries
| ₹5 L/yr - ₹8 L/yr |
Infosys
TCS
Wipro
HCLTech