Filter interviews by
Python coding question
IoT ,sosal media, mobile
The difference of the list between strings is the unique strings present in each list.
Create two lists of strings
Identify the unique strings in each list
Compare the unique strings to find the difference
A tuple in Python is an immutable collection of elements, similar to a list but cannot be changed once created.
Tuples are created using parentheses ()
Elements in a tuple can be of different data types
Tuples can be accessed using indexing or slicing
Tuples are faster than lists as they are immutable
A dictionary in Python is a collection of key-value pairs, where each key is unique and maps to a corresponding value.
In Python, dictionaries are created using curly braces {} and key-value pairs separated by colons.
Keys in a dictionary must be immutable objects, such as strings, numbers, or tuples.
Values in a dictionary can be of any data type, including lists, tuples, or even other dictionaries.
The 'in' keyword in Python is used to check if a value exists in a sequence (list, tuple, string, etc.)
Used to check if a value is present in a sequence
Returns True if value is found, False otherwise
Can be used with lists, tuples, strings, dictionaries, etc.
Sorting in Python refers to arranging elements in a list in a specific order.
Sorting can be done using built-in functions like sorted() or sort()
Elements can be sorted in ascending or descending order
Sorting can be done based on custom key functions
Top trending discussions
based on 1 interview
Interview experience
Software Engineer
42
salaries
| ₹3.6 L/yr - ₹12 L/yr |
QA Engineer
17
salaries
| ₹4 L/yr - ₹9.2 L/yr |
Junior Software Engineer
17
salaries
| ₹3 L/yr - ₹6 L/yr |
Jr. Data Scientist
12
salaries
| ₹3.6 L/yr - ₹6.6 L/yr |
Junior Software Developer
9
salaries
| ₹3.5 L/yr - ₹5.8 L/yr |
TO THE NEW
Srijan Technologies
Tatvasoft
Hidden Brains InfoTech