Filter interviews by
I applied via Walk-in and was interviewed in Nov 2023. There were 3 interview rounds.
Python,c,c++,Html,Css
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Shift all zeros in an array to the right while maintaining the order of non-zero elements.
Iterate through the array and move all non-zero elements to the front of the array.
Fill the remaining elements with zeros.
Maintain the relative order of non-zero elements.
A decorator is a design pattern in Python that allows adding new functionality to an existing object without modifying its structure.
Decorators are denoted by the @ symbol followed by the decorator function name.
They are commonly used to modify or extend the behavior of functions or methods.
Decorators can be used for logging, timing, authentication, caching, etc.
Example: @staticmethod, @classmethod, @property
posted on 10 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There were 2 interview rounds.
posted on 27 May 2024
List is a built-in Python data structure that can hold elements of different data types, while Array is a data structure from the NumPy library that can hold elements of the same data type.
List is a dynamic array that can grow or shrink in size, while Array has a fixed size.
List can hold elements of different data types, while Array can only hold elements of the same data type.
List is a part of Python's standard librar...
DRF provides JSON, BrowsableAPI, TemplateHTML, and AdminRenderer classes for rendering responses.
JSONRenderer: Renders data in JSON format.
BrowsableAPIRenderer: Renders data in a browsable HTML format with forms for interacting with the API.
TemplateHTMLRenderer: Renders data using a specified template in HTML format.
AdminRenderer: Renders data in a format suitable for Django admin interface.
Method Resolution Order (MRO) is the order in which classes are searched for a method or attribute in Python.
MRO is determined by the C3 linearization algorithm in Python.
It follows a depth-first left-to-right traversal of the class hierarchy.
MRO is important in multiple inheritance scenarios to resolve method conflicts.
Example: class A: pass class B(A): pass class C(A): pass class D(B, C)
Class method is bound to the class itself, while static method is not bound to any specific instance or class.
Class method takes 'cls' as the first parameter, allowing access to class variables and methods.
Static method does not take any special parameters and does not have access to class or instance variables.
Class method can be called on both the class and instances of the class.
Static method is mainly used for util...
Transactions in SQL are a way to ensure data integrity by grouping multiple SQL statements into a single unit of work.
Transactions help maintain the ACID properties (Atomicity, Consistency, Isolation, Durability) of a database.
They allow multiple SQL statements to be executed as a single unit, either all succeeding or all failing.
Transactions can be started with BEGIN TRANSACTION, COMMIT to save changes, or ROLLBACK to...
posted on 2 Jul 2024
Simple python programming concepts
Inter service communication in transactional systems involves designing a reliable and efficient way for services to communicate and exchange data.
Use asynchronous messaging systems like RabbitMQ or Kafka to decouple services and ensure reliable message delivery.
Implement RESTful APIs for synchronous communication between services, using HTTP methods like GET, POST, PUT, DELETE.
Consider using gRPC for high-performance,...
Use pandas library for efficient loading and processing of large files in Python.
Use pandas read_csv() function with chunksize parameter to load large files in chunks.
Optimize memory usage by specifying data types for columns in read_csv() function.
Use pandas DataFrame methods like groupby(), merge(), and apply() for efficient data processing.
Consider using Dask library for parallel processing of large datasets.
Use gen...
Verbal
reasoning
Coding
Technical
Python
Coding
Test
I applied via Naukri.com and was interviewed in Oct 2021. There were 4 interview rounds.
I applied via Naukri.com and was interviewed in Aug 2021. There was 1 interview round.
Decorators are functions that modify the behavior of other functions without changing their source code.
Decorators are denoted by the '@' symbol followed by the decorator function name.
They can be used to add functionality to a function, such as logging or timing.
Decorators can also be used to modify the behavior of a class or method.
They are commonly used in web frameworks like Flask and Django.
Examples of built-in de...
Namespace is a container that holds identifiers (names) used to avoid naming conflicts.
Namespace is created at different moments and has different lifetimes.
Python implements namespaces as dictionaries.
There are four types of namespaces in Python: built-in, global, local, and non-local.
Namespaces can be accessed using the dot (.) operator.
Example: 'import math' creates a namespace 'math' that contains all the functions
Algorithm to solve Sudoku puzzle
Create a 9x9 grid to represent the puzzle
Fill in known numbers
For each empty cell, try numbers 1-9 until a valid number is found
Backtrack if no valid number can be found
Repeat until all cells are filled
List comprehension is a concise way to create lists in Python by iterating over an existing list or iterable.
Syntax: [expression for item in iterable]
Can include conditions: [expression for item in iterable if condition]
Can be nested: [[i*j for j in range(1, 4)] for i in range(1, 4)]
Can be used to create new lists from existing lists efficiently
Types of Serializers in Django include ModelSerializer, Serializer, and HyperlinkedModelSerializer.
ModelSerializer: Used to serialize Django model instances.
Serializer: Generic serializer class for custom data serialization.
HyperlinkedModelSerializer: Includes hyperlinks to related resources in the serialized data.
I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are used to add functionality to existing functions without modifying their code.
Types of decorators in Python include function decorators, class decorators, and method decorators.
Example: @staticmethod and @classmethod are built-in decorators in Python.
based on 1 interview
Interview experience
Desktop Support Engineer
978
salaries
| ₹0.9 L/yr - ₹4.5 L/yr |
Engineer- Customer Support
649
salaries
| ₹1 L/yr - ₹4.6 L/yr |
Network Engineer
339
salaries
| ₹1 L/yr - ₹7 L/yr |
Technical Support Engineer
285
salaries
| ₹1.1 L/yr - ₹5.4 L/yr |
System Administrator
238
salaries
| ₹1.8 L/yr - ₹7.9 L/yr |
Wipro
HCLTech
Tech Mahindra
TCS