i
TO THE NEW
Filter interviews by
Top trending discussions
posted on 2 Oct 2024
It was pretty easy. Various theoretical questions on technical knowledge and 3 coding questions. Since I was applying for a .net profile, all questions were related to that only.
posted on 30 Aug 2024
Lifecycle hooks in Angular are methods that allow you to tap into the lifecycle of a component or directive.
Lifecycle hooks include ngOnInit, ngOnChanges, ngDoCheck, ngOnDestroy, etc.
ngOnInit is used to initialize data in a component after Angular has initialized the component.
ngOnChanges is called when the input properties of a component change.
ngDoCheck is used for detecting and acting on changes that Angular doesn't...
Functional interfaces provide a single abstract method for functional programming in Java.
Functional interfaces allow for lambda expressions and method references to be used as instances of the interface.
Interfaces with multiple abstract methods cannot be used for lambda expressions.
Example: java.util.function.Function is a functional interface with a single abstract method apply().
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions: Allows writing concise code by enabling functional programming.
Streams: Provides a way to work with sequences of elements efficiently.
Functional interfaces: Interfaces with a single abstract method, used for lambda expressions.
Default methods: Allows adding new methods to interfaces without br
Yes, one functional interface can extend another interface in Java.
Functional interfaces can extend other functional interfaces in Java.
The child interface can have only one abstract method, but can inherit default methods from the parent interface.
Example: interface Parent { void method1(); } interface Child extends Parent { void method2(); }
posted on 5 Dec 2024
posted on 28 Jun 2024
There are four divisions in COBOL: Identification Division, Environment Division, Data Division, and Procedure Division.
Identification Division: Contains program name, author, and date.
Environment Division: Specifies the hardware and software environment.
Data Division: Defines the data structures used in the program.
Procedure Division: Contains the actual program logic.
GDG stands for Generation Data Group in JCL, used to manage related datasets as a single unit.
GDG is used in JCL to group related datasets together for easier management.
It allows for easy referencing of datasets within the group using relative generation numbers.
Example: MYDATA.GDG(+1) refers to the most recent generation in the GDG.
Example: MYDATA.GDG(-1) refers to the previous generation in the GDG.
I applied via Approached by Company and was interviewed in Aug 2023. There were 3 interview rounds.
Hello tell me about yourself
posted on 26 Mar 2024
I applied via Naukri.com and was interviewed before Mar 2023. There were 2 interview rounds.
Provide a code and test the coding ability and also ask for to optimize the code
posted on 7 Jul 2020
I applied via Referral and was interviewed in Jun 2020. There were 3 interview rounds.
Find maximum for each contiguous subarray of size k from an array of size n.
Iterate through the array and keep track of maximum for each subarray of size k
Use a sliding window approach to efficiently calculate maximum for each subarray
Time complexity: O(n)
Example: arr = [10, 5, 2, 7, 1, 9, 4], k = 3, output = [10, 7, 7, 9, 9]
Permutations of a string
Use recursion to swap characters and generate permutations
Iterate through the string and swap each character with the first character
Repeat the above step for each character in the string
Left view of a binary tree
The left view of a binary tree shows the leftmost node at each level
We can traverse the tree in a pre-order fashion and keep track of the current level
If the current level is greater than the maximum level seen so far, add the node to the result
Segregate an array of 0s and 1s with minimum swaps.
Count the number of 0s in the array.
Swap the 1s with the 0s until all 0s are on one side and 1s on the other.
The minimum number of swaps required is half the number of 1s on the side with fewer 1s.
based on 1 interview
Interview experience
based on 3 reviews
Rating in categories
Software Engineer
561
salaries
| ₹3.5 L/yr - ₹13.6 L/yr |
Senior Software Engineer
559
salaries
| ₹8.6 L/yr - ₹27.5 L/yr |
Associate Technical Leader
219
salaries
| ₹13.5 L/yr - ₹36 L/yr |
Senior Quality Engineer
161
salaries
| ₹7 L/yr - ₹22.5 L/yr |
Devops Engineer
157
salaries
| ₹4.5 L/yr - ₹14.5 L/yr |
TCS
Infosys
Wipro
HCLTech