Filter interviews by
I applied via Recruitment Consultant and was interviewed in Jan 2021. There were 3 interview rounds.
Memoization is a technique to cache the results of a function to improve performance.
Memoization can be implemented using closures or objects.
It is useful for functions that are computationally expensive or have repetitive calculations.
Memoization can be used for recursive functions to avoid redundant calculations.
Example: Memoizing a Fibonacci function to avoid recalculating the same values.
Currying is a technique in JavaScript where a function with multiple arguments is transformed into a sequence of functions with single arguments.
Currying allows for partial application of functions.
It can be achieved using the bind() method or by creating a closure.
Curried functions can be used for function composition and creating reusable code.
Example: const add = x => y => x + y; add(2)(3) returns 5.
Services are used to share data and functionality across components. Lifecycle hooks are methods that get called at specific stages of a component's life.
Services are singleton objects that can be injected into components
Lifecycle hooks include ngOnInit, ngOnDestroy, and ngOnChanges
ngOnInit is called when a component is initialized
ngOnDestroy is called when a component is about to be destroyed
ngOnChanges is called when
Angular components interact with each other through @Input, @Output, and services.
Components can pass data to child components using @Input decorator
Components can emit events to parent components using @Output decorator
Components can share data through services
Components can communicate with each other using @ViewChild and @ContentChild decorators
Top trending discussions
I applied via campus placement at Centre for Development of Advanced Computing (CDAC) and was interviewed before Jun 2022. There were 3 interview rounds.
posted on 12 Nov 2024
I applied via campus placement at Krishna Institute of Engineering and Technology, Ghaziabad and was interviewed in Oct 2024. There were 3 interview rounds.
Medium level questions asked
Simple easy to medium 2 questions asked of string and array
I applied via campus placement at S R Engineering College, Ranga Reddy and was interviewed in Jun 2024. There were 3 interview rounds.
MCQ round with few apti, 2 coding too.
To print nodes with no edges in a unidirectional graph, iterate through all nodes and print those without any outgoing edges.
Iterate through all nodes in the graph
For each node, check if it has any outgoing edges
If a node has no outgoing edges, print it
posted on 15 Oct 2024
I applied via campus placement at KIIT University, Bhuvaneshwar and was interviewed in Apr 2024. There were 3 interview rounds.
Medium level coding questions on hackerrank ,1:30hr, topic- Array , DP , Matrix , Binary Search
I applied via Naukri.com and was interviewed in Jan 2024. There were 3 interview rounds.
I was interviewed in Feb 2021.
Round duration - 90 minutes
Round difficulty - Medium
Timing was 10AM. The platform was quite good.
You are provided with an N * M
sized binary matrix 'MAT' where 'N' denotes the number of rows and 'M' denotes the number of columns. Your t...
Determine the maximum path sum for any path in a given binary tree with 'N' nodes.
Note:
Find the minimum number of swaps required to sort a given array of distinct elements in ascending order.
T (number of test cases)
For each test case:
N (siz...
Convert a given infix expression, represented as a string EXP
, into its equivalent postfix expression.
An infix expression is formatted as a op b
where the opera...
Tip 1 : Do at least 1 project.
Tip 2 : Practice data structure questions.
Tip 3 : Dynamic programming is must.
Tip 1 : Do not put false things.
Tip 2 : Keep it short and direct.
posted on 16 Sep 2021
I was interviewed in Nov 2020.
Round duration - 40 minutes
Round difficulty - Medium
It was early in the morning around 8:00AM-8:40AM. Platform used was hackerrank and the questions asked were of moderate level.
Given an array 'ARR' of size 'N', determine if there exists a triplet (i, j, k) satisfying the conditions: 0 < i , i + 1 < j , j + 1 < k and k < N...
Round duration - 15 minutes
Round difficulty - Easy
It was in the evening around 4;00PM-4:20PM. This round was very interesting as it focuses more about your personality rather than your knowledge which has been already checked in previous rounds.
Tip 1 : Practice aptitude as much as possible.
Tip 2 : Practice more and more questions related to your skills.
Tip 3 : Proper revision is must.
Tip 1 : It should not be too long or too short.
Tip 2 : Each skill and project should be reflected properly in your resume.
posted on 16 Sep 2021
I was interviewed before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
They share doc file link which consist of 5 programming questions
You are given a string of length N
. Your task is to reverse the string word by word. The input may contain multiple spaces between words and may have leading o...
Given an integer N
, determine if it is a member of the Fibonacci series. Return true
if the number is a member of the Fibonacci series, otherwise return false
.
Given an array ARR
of N
elements, your task is to find the maximum difference between any two elements in ARR
.
If the maximum difference is even, print EVEN; if it is...
We will iterate over ARR and find the MAX and MIN of the ARR. And if the MAX - MIN is odd the return “ODD” else return "EVEN".
The algorithm will be-
O(1).
Since constant space is used.
Time Complexity: O(n)Explanation:O(N), where N ...
Determine the remainder when a given number, 'N' in the form of a string, is divided by 11.
The first line contains an integer 'T' denoting the numb...
Round duration - 60 minutes
Round difficulty - Medium
In this round interviewer asked me to solve 3 programming questions.
Selection sort is a sorting technique that works by repeatedly finding the minimum element (considering ascending order) from the unsorted part and placing it at the beginning of ...
Selection sort is a standard sorting algorithm that uses nested loops to find all the minimum elements in the array in each iteration and swap them with the starting element of the unsorted region of the array.
Steps :
Given a string, your task is to determine if it is a palindrome considering only alphanumeric characters.
The input is a single string without any leading or trailing...
Display the star pattern for a given positive integer N.
N = 4
*
***
*****
*******
The dots in the image represent spaces. Al...
Round duration - 60 minutes
Round difficulty - Easy
This was the HR round. They asked me simple HR questions and 1 coding question.
Create a program that counts and prints the total number of specific character types from user input. Specifically, you need to count lowercase English alphabets, numeric digi...
Tip 1 : Learn how to optimize the program. This will really help you during RSL interview.
Tip 2 : Study all previously asked question by this company and try to find out best solution for it.
Tip 3 : Keep resume simple and authenticated.
Tip 4 : Practice how to handrun the program.
Tip 1 : Resume should be authenticated. You should be able to answer all things on resume.
Tip 2 : Keep it simple.
Tip 3 : Having internship experience will help.
Software Engineer
29
salaries
| ₹4.4 L/yr - ₹15.8 L/yr |
Verification Analyst
22
salaries
| ₹1.8 L/yr - ₹3 L/yr |
System Administrator
18
salaries
| ₹3.2 L/yr - ₹5.8 L/yr |
Quality Analyst
18
salaries
| ₹2 L/yr - ₹8.5 L/yr |
Senior Software Engineer
15
salaries
| ₹7.6 L/yr - ₹19.5 L/yr |
Tech Mahindra
TCS
Infosys
Wipro