Filter interviews by
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
I was given a shared assignment file and instructed to complete it within 45 minutes; however, it was actually a three-hour-long Django project.
Top trending discussions
posted on 30 Apr 2024
I applied via Indeed and was interviewed in Mar 2024. There was 1 interview round.
Function to determine if a number is prime or not.
Check if the number is less than 2, return False if so
Iterate from 2 to the square root of the number, checking for divisibility
If no divisors found, return True (number is prime)
Create a function to find the least repeating consecutive character in a string.
Iterate through the string and keep track of consecutive characters and their counts
Find the character with the least count of consecutive repetitions
Return the character with the least count
Call by value passes a copy of the variable's value, while call by reference passes a reference to the variable's memory location.
Call by value passes a copy of the variable's value, so changes made to the parameter inside the function do not affect the original variable.
Call by reference passes a reference to the variable's memory location, so changes made to the parameter inside the function affect the original varia...
posted on 18 Jun 2024
id in Python is a unique identifier assigned to an object.
id() function returns the unique identifier of an object
id is used to check if two variables refer to the same object
id values are unique within the lifetime of the object
A method is a function that belongs to a class, while a function is a standalone block of code.
Methods are called on objects, while functions are called independently.
Methods have access to the data within the class they belong to, while functions do not.
Functions can be defined outside of classes, while methods are defined within classes.
I applied via Job Portal and was interviewed in Apr 2024. There was 1 interview round.
posted on 22 Aug 2023
I applied via Job Portal
Code to filter anagram from an array of strings
Create a dictionary to store sorted strings as keys and original strings as values
Iterate through the array of strings and sort each string to check for anagrams
Return the values of the dictionary to get the filtered anagrams
I applied via Referral and was interviewed in Nov 2023. There was 1 interview round.
posted on 12 Apr 2024
I applied via Naukri.com and was interviewed in Feb 2023. There were 3 interview rounds.
Basic aptitude like speed time, graphs, etc and problem-solving questions of C language.
A Python program in recursion
Recursion is a technique where a function calls itself to solve a problem
The function should have a base case to stop the recursion
The function should have a recursive case to continue the recursion
Example: Factorial of a number using recursion
Example: Fibonacci series using recursion
Models in Django are Python classes that define the structure of the database tables.
Models are used to create, read, update and delete data from the database.
They define the fields and their types, relationships between tables, and constraints.
Models can be created using the Django ORM (Object-Relational Mapping) or by writing SQL.
Example: class Book(models.Model): title = models.CharField(max_length=100) author = mod...
To import views in Django, you need to create a views.py file and import it in urls.py
Create a views.py file in your Django app directory
Define your views in the views.py file
Import your views in urls.py using the 'from . import views' syntax
Map your views to URLs in urls.py using the 'path()' function
I applied via Naukri.com and was interviewed in Jul 2023. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in May 2020. There were 4 interview rounds.
Program to generate a particular series
Define the series pattern
Use loops to generate the series
Store the series in an array
Print the array
Tekwissen
Collabera Technologies
Softenger
XcelServ Solutions