Filter interviews by
Program to find longest substring with another string
Create a nested loop to compare each substring of the first string with the second string
Use a variable to keep track of the longest substring found so far
Return the longest substring found
Top trending discussions
I applied via Naukri.com and was interviewed before Jul 2019. There was 1 interview round.
Explaining something involves breaking down a concept or process into simpler terms for better understanding.
Start by providing an overview of the topic
Break down the key components or steps involved
Use examples or analogies to clarify complex ideas
Conclude by summarizing the main points
Print highest element in array of strings
Convert array elements to integers
Use built-in max() function
Print the result
Actions and Action are terms used in automation testing. Actions are a collection of steps while Action is a single step.
Actions are a set of steps that can be reused in multiple tests
Action is a single step that performs a specific action
Actions can be called multiple times in a test
Action can only be called once in a test
Actions can be parameterized
Action cannot be parameterized
posted on 14 Jan 2021
I applied via Naukri.com and was interviewed in Dec 2020. There were 5 interview rounds.
posted on 13 Jul 2020
I was interviewed in Aug 2020.
I applied via Recruitment Consultant and was interviewed in Feb 2020. There were 4 interview rounds.
I am a software engineer with experience in developing web applications and mobile apps.
I have a degree in Computer Science
I have worked with Java, Python, and JavaScript
I have experience with front-end frameworks like React and Angular
I have developed mobile apps using React Native
I am familiar with Agile methodologies
I have a passion for software development and enjoy the challenges it presents.
I have always been interested in technology and programming
I have taken courses and completed projects in software development
I enjoy problem-solving and finding efficient solutions
I believe software engineering is a constantly evolving field with endless opportunities for growth
A program to check if a given number is prime or not.
A prime number is a number that is only divisible by 1 and itself.
Start checking from 2 up to the square root of the number.
If the number is divisible by any number in the range, it is not prime.
Otherwise, it is prime.
Optimization: check only odd numbers after 2.
Fibonacci program generates a series of numbers where each number is the sum of the two preceding ones.
The program can be implemented using recursion or iteration.
The first two numbers in the series are always 0 and 1.
The next number is the sum of the previous two numbers.
Example: 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418,...
Flowchart for two programs
Identify inputs and outputs
Determine program logic
Create decision points and loops
Connect program components
Include error handling
Test and debug
Document the flowchart
Print the level order traversal of binary tree in spiral form
Perform level order traversal of the binary tree
Alternate the direction of traversal for each level
Use a stack to reverse the order of nodes in each level
Print the nodes in the order of traversal
Find the maximum element in each subarray of size k in a given array.
Iterate through the array from index 0 to n-k.
For each subarray of size k, find the maximum element.
Store the maximum elements in a separate array.
Return the array of maximum elements.
To find the Kth largest element in two sorted arrays, we can use the merge step of merge sort algorithm.
Merge the two arrays into a single sorted array using a modified merge sort algorithm.
Return the Kth element from the merged array.
Merge two sorted arrays into one sorted array with expected time complexity of (m+n).
Use a two-pointer approach to compare elements from both arrays and merge them into the first array.
Start comparing elements from the end of both arrays and place the larger element at the end of the first array.
Continue this process until all elements from the second array are merged into the first array.
Data Warehouse Developer
6
salaries
| ₹6.2 L/yr - ₹8.8 L/yr |
Senior Engineer
5
salaries
| ₹9 L/yr - ₹17.2 L/yr |
Specialist
5
salaries
| ₹17 L/yr - ₹21.8 L/yr |
Senior Software Engineer
4
salaries
| ₹11.5 L/yr - ₹15.5 L/yr |
Associate Specialist
4
salaries
| ₹10.1 L/yr - ₹15 L/yr |
Accenture
Capgemini
HCLTech
Teleperformance