Filter interviews by
I applied via Approached by Company and was interviewed before Oct 2022. There were 3 interview rounds.
I appeared for an interview in Feb 2025.
React hooks simplify state and lifecycle management in functional components, enhancing code readability and reusability.
Hooks like useState and useEffect allow functional components to manage state and side effects.
useState: const [count, setCount] = useState(0); // Initializes count state.
useEffect: useEffect(() => { // Side effect code here }, [dependencies]); // Runs after render.
Lifecycle methods like component...
Three questions involving normal dsa
I applied via Naukri.com and was interviewed in Aug 2023. There were 3 interview rounds.
Q. 1 Using Python, How can we extract 3-grams from the given document and obtain a list of the generated 3-gram phrases
Q. 2 You are given an integer array containing distinct numbers and you can perform the following operations until the array is empty : if the first element has the smallest value, remove it. otherwise , put the element at the end of the array. Return an integer denoting the number of operations it takes to make nums empty.
Example: Input nums = [3,4,-1]
Output:5
Operation Array
1 [4,3,-1]
2 [-1,3,4]
3 [3,4]
4 [4]
5 []
Q.3 Write a python Code to initialize k cluster centroids for the k-means clustering algorithm using a random dataset.
Q. 4 Write a python function that takes as input and performs stop word removal, stemming, and tokenization. The function should return a list of processed tokens.
Q. 5 Given an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers. Return any array that satisfies this condition.
Input = [3,1,2,4]
expected Output = [2,4,1,3]
Q. 3
I applied via Naukri.com and was interviewed in Mar 2023. There were 3 interview rounds.
Top trending discussions
The zip function in Python is used to combine multiple iterables into a single iterable of tuples.
Zip function takes two or more iterables as arguments and returns an iterator of tuples where the i-th tuple contains the i-th element from each of the input iterables.
If the input iterables are of different lengths, the resulting iterator will only have as many elements as the shortest input iterable.
Example: zip([1, 2, 3...
NLP (Natural Language Processing) in machine learning is the ability of a computer to understand, interpret, and generate human language.
NLP enables machines to analyze and derive meaning from human language data.
It involves tasks such as text classification, sentiment analysis, named entity recognition, and machine translation.
Examples of NLP applications include chatbots, language translation services, and speech rec...
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
Types of prompts include text prompts, image prompts, audio prompts, and video prompts.
Text prompts: prompts that are in written form
Image prompts: prompts that are in visual form
Audio prompts: prompts that are in audio form
Video prompts: prompts that are in video form
Symmetric encryption uses the same key for both encryption and decryption, while asymmetric encryption uses different keys for encryption and decryption.
Symmetric encryption is faster and more efficient than asymmetric encryption.
Asymmetric encryption provides better security as it uses a public key for encryption and a private key for decryption.
Examples of symmetric encryption algorithms include AES and DES, while ex...
based on 5 interview experiences
Difficulty level
Duration
based on 15 reviews
Rating in categories
Software Engineer
12
salaries
| ₹5.7 L/yr - ₹9.7 L/yr |
Senior Software Engineer
9
salaries
| ₹4.5 L/yr - ₹10.7 L/yr |
Lead Software Engineer
8
salaries
| ₹8 L/yr - ₹14.2 L/yr |
Senior Software Developer
7
salaries
| ₹4.5 L/yr - ₹9 L/yr |
Software Developer
6
salaries
| ₹4 L/yr - ₹8 L/yr |
TCS
Accenture
Wipro
Cognizant