i
Think41
Filter interviews by
Tuple is immutable, ordered collection of elements. List is mutable, ordered collection of elements.
Tuple is defined using parentheses (), while list is defined using square brackets []
Elements in tuple cannot be changed once assigned, while elements in list can be modified
Tuple is faster than list for iteration and accessing elements
Example: tuple_example = (1, 2, 3), list_example = [1, 2, 3]
A null function is a function that always returns a null value.
A null function is typically used as a placeholder or to indicate that no meaningful value can be returned.
It is commonly used in programming to handle cases where a function needs to be called but no actual computation is required.
Example: function nullFunction() { return null; }
My name is John Doe.
My name is John Doe.
I go by John.
John is my first name, Doe is my last name.
Top trending discussions
I applied via Campus Placement
Dsa problems dp and tress problem
I am a passionate software engineer with 5 years of experience in developing web applications using various technologies.
5 years of experience in software development
Proficient in developing web applications
Skilled in using various technologies
Passionate about software engineering
The test was in hackerrank platform, it was moderate level.
posted on 18 Aug 2022
I applied via Campus Placement and was interviewed in Jul 2022. There were 3 interview rounds.
Questions based or percentage, profit loss, ratio
Stacks are a data structure that follows the Last In First Out (LIFO) principle.
Elements are added and removed from the top of the stack
Common operations include push (add element) and pop (remove element)
Stacks can be implemented using arrays or linked lists
Examples of stack usage include function call stack and undo/redo functionality in text editors
To find the middle number in a linked list.
Traverse the linked list using two pointers, one moving twice as fast as the other.
When the fast pointer reaches the end, the slow pointer will be at the middle node.
If the linked list has even number of nodes, there will be two middle nodes. Return either one.
I applied via Campus Placement and was interviewed in Jul 2024. There were 2 interview rounds.
Dp, trees and basic time complexity
I am a software engineer with 5 years of experience in developing web applications using Java, Spring, and Angular.
5 years of experience in software development
Proficient in Java, Spring, and Angular
Strong problem-solving skills
Experience working in Agile development environment
I applied via Naukri.com and was interviewed before Oct 2022. There were 4 interview rounds.
Implement login with Google SSO, show emails in a single place
JWT can be implemented by generating a token with user information and a secret key, then verifying the token using the same secret key.
Generate a JWT token with user information and a secret key
Include necessary claims like expiration time, issuer, etc.
Verify the JWT token using the same secret key
Handle token expiration and refresh if needed
Middleware in Express is a function that has access to the request and response objects.
Create a middleware function using app.use() method in Express.
Middleware functions have access to the request object (req), the response object (res), and the next middleware function in the application's request-response cycle.
Example: app.use((req, res, next) => { console.log('This is a middleware function'); next(); });
Lazy loading in Angular delays loading of modules until they are needed
Lazy loading helps improve performance by only loading modules when they are required
It is achieved by using the loadChildren property in the route configuration
Lazy loaded modules are loaded asynchronously when the user navigates to the corresponding route
Server-side rendering (SSR) in Angular can be enabled by using Angular Universal.
Install Angular Universal using Angular CLI
Create a new Angular Universal project
Update app.module.ts to include server-side rendering
Build and run the Angular Universal project
I applied via Naukri.com and was interviewed in Dec 2023. There was 1 interview round.
Questions can be found on Leetcode
I applied via Naukri.com and was interviewed in Jul 2022. There were 3 interview rounds.
It was on hacker rank
It was a aptitude test taken by me of the new and all the response and the of new
I applied via Internshala and was interviewed in Dec 2023. There were 2 interview rounds.
Easy to medium, can solve with leetcode medium
Count the number of islands in a grid of '1's and '0's
Iterate through the grid and for each '1' encountered, perform a depth-first search to mark all connected '1's as visited
Increment the island count for each new island found
Ensure to handle boundary cases and check for visited nodes
Find the first and last index of a specific element in an array of strings.
Iterate through the array and keep track of the index of the first and last occurrence of the element.
Return the first and last index once the iteration is complete.
Example: Array ['apple', 'banana', 'apple', 'orange'], element 'apple' - First index: 0, Last index: 2.
based on 1 interview
Interview experience
Kissht Finance
Samunnati Financial Intermediation and Services
JoulestoWatts Business Solutions
MagicPin