Filter interviews by
I applied via Company Website and was interviewed in Sep 2024. There were 2 interview rounds.
To check if an IP address is correct, validate the format and range of each octet.
Check if the IP address has 4 octets separated by periods.
Validate each octet to be between 0 and 255.
Ensure there are no leading zeros in each octet.
Use regular expressions for pattern matching.
Consider using built-in libraries like ipaddress in Python.
Top trending discussions
posted on 16 Apr 2024
I applied via Walk-in and was interviewed in Mar 2024. There was 1 interview round.
Python is a high-level, interpreted programming language known for its simplicity and readability.
Python is dynamically typed and garbage-collected.
It supports multiple programming paradigms like procedural, object-oriented, and functional programming.
Python has a large standard library and a thriving community of developers.
Example: print('Hello, World!')
Data types in Python define the type of data that a variable can hold.
Python has several built-in data types such as int, float, str, list, tuple, dict, set, bool, etc.
Each data type has specific characteristics and operations that can be performed on it.
Examples: int for integers, float for floating-point numbers, str for strings, list for lists of elements.
Python indentation is the spacing at the beginning of a line to define the structure of the code.
Indentation is used to define blocks of code, such as loops, functions, and classes.
Python uses indentation to determine the scope and hierarchy of code.
Incorrect indentation can lead to syntax errors or unexpected behavior.
Example: if x > 5: print('x is greater than 5')
Example: def my_function(): print('This is i
A program to check if a given string is a palindrome in Python.
Create a function that takes a string as input.
Use string slicing to reverse the input string.
Compare the reversed string with the original string to check for palindrome.
Return True if the string is a palindrome, False otherwise.
Concatenate two strings using lambda functions in Python
Use a lambda function to concatenate two strings
Pass the two strings as arguments to the lambda function
Return the concatenated result
Interview experience
Production Associate
802
salaries
| ₹3 L/yr - ₹12 L/yr |
Software Engineer
377
salaries
| ₹4.5 L/yr - ₹18 L/yr |
Deputy Manager
371
salaries
| ₹15.4 L/yr - ₹36 L/yr |
Team Lead
290
salaries
| ₹4.4 L/yr - ₹15 L/yr |
Financial Analyst
244
salaries
| ₹7.7 L/yr - ₹20 L/yr |
Maruti Suzuki
Tata Motors
Mahindra & Mahindra
Hyundai Motor India Limited