Filter interviews by
Life cycle hooks are methods that get called at specific stages of a component's life cycle.
ngOnInit() - called after the component is initialized
ngOnChanges() - called when the component's input properties change
ngOnDestroy() - called just before the component is destroyed
Used to perform specific actions at different stages of a component's life cycle
Yes, I have worked on them in my project
The @Input() and @Output() are decorators in Angular used for communication between parent and child components.
The @Input() decorator is used to pass data from a parent component to a child component.
The @Output() decorator is used to emit events from a child component to a parent component.
The @Input() property is bound to a value in the parent component template using property binding.
The @Output() property is ...
Routing is the process of navigating between different components or pages in an Angular application.
Routing is used to create single-page applications (SPAs) where the content is dynamically loaded without refreshing the entire page.
In Angular, routing is achieved using the RouterModule and the RouterLink directives.
The RouterModule is imported from the @angular/router package and added to the imports array of th...
Angular has four types of data bindings: Interpolation, Property binding, Event binding, and Two-way binding.
Interpolation: {{ expression }}
Property binding: [property]="expression"
Event binding: (event)="expression"
Two-way binding: [(ngModel)]="expression"
Lazy loading is a technique in Angular that loads modules or components on-demand, improving performance.
Lazy loading helps reduce initial load time by loading modules or components only when needed
It improves performance by splitting the application into smaller chunks
Syntax: import() function is used to dynamically load modules or components
The latest version of TypeScript used in my project has several new features.
Optional Chaining and Nullish Coalescing
Improved performance with faster compilation times
Support for private fields and methods
Higher order type inference from generic constructors
Support for ECMAScript private fields
Improved support for tuples
Smaller bundle sizes with tree shaking
To call REST APIs in Angular, use the HttpClient module and its methods like get(), post(), put(), delete().
Import the HttpClientModule in your Angular module
Inject the HttpClient service in your component or service
Use the HttpClient methods to make HTTP requests to the REST APIs
Handle the response using observables and subscribe to them
Example: httpClient.get('https://api.example.com/data')
Example: httpClient.po...
Web workers are JavaScript scripts that run in the background, separate from the main browser thread.
Web workers allow for parallel execution of tasks, improving performance and responsiveness.
They can perform computationally intensive tasks without blocking the user interface.
Web workers communicate with the main thread using message passing.
Examples of tasks suitable for web workers include data processing, imag...
Passing data between parent and child components is component interaction in Angular.
Use @Input decorator to pass data from parent to child component
Use @Output decorator and EventEmitter to pass data from child to parent component
Use services to share data between components
Use ViewChild to access child component's properties and methods from parent component
I applied via Naukri.com and was interviewed in Sep 2020. There were 3 interview rounds.
The @Input() and @Output() are decorators in Angular used for communication between parent and child components.
The @Input() decorator is used to pass data from a parent component to a child component.
The @Output() decorator is used to emit events from a child component to a parent component.
The @Input() property is bound to a value in the parent component template using property binding.
The @Output() property is bound...
Web workers are JavaScript scripts that run in the background, separate from the main browser thread.
Web workers allow for parallel execution of tasks, improving performance and responsiveness.
They can perform computationally intensive tasks without blocking the user interface.
Web workers communicate with the main thread using message passing.
Examples of tasks suitable for web workers include data processing, image man...
Observable is for handling multiple values over time, while Promise is for handling a single value.
Observable can emit multiple values over time, while Promise can only emit a single value.
Observable can be cancelled, while Promise cannot be cancelled.
Observable provides operators for transforming and combining data, while Promise does not have such operators.
Observable is lazy, meaning it won't start emitting values u...
The latest version of TypeScript used in my project has several new features.
Optional Chaining and Nullish Coalescing
Improved performance with faster compilation times
Support for private fields and methods
Higher order type inference from generic constructors
Support for ECMAScript private fields
Improved support for tuples
Smaller bundle sizes with tree shaking
To call REST APIs in Angular, use the HttpClient module and its methods like get(), post(), put(), delete().
Import the HttpClientModule in your Angular module
Inject the HttpClient service in your component or service
Use the HttpClient methods to make HTTP requests to the REST APIs
Handle the response using observables and subscribe to them
Example: httpClient.get('https://api.example.com/data')
Example: httpClient.post('h...
Top trending discussions
posted on 26 Nov 2020
I applied via Naukri.com and was interviewed before Nov 2019. There were 4 interview rounds.
posted on 11 Mar 2022
I appeared for an interview before Mar 2021.
Round duration - 60 minutes
Round difficulty - Medium
21 students were shortlisted from the 1st MCQ round and in this round we were asked to write the codes (function only) of 3 questions in 1 hour time.
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Given an array/list 'ARR' consisting of 'N' integers, your task is to find the majority element in the array. If there is no majority element present, return -1.
You are provided with a non-empty binary tree in which each node contains a non-negative integer value. Your task is to find and return the maximum ...
Find the maximum path sum between two leaf nodes in a binary tree.
Traverse the tree to find the maximum path sum between two leaf nodes.
Keep track of the maximum sum found so far.
Consider all possible paths between leaf nodes.
Handle cases where the tree has only a single leaf node.
Implement a recursive function to calculate the maximum path sum.
Round duration - 60 minutes
Round difficulty - Medium
This was a technical round with DSA based questions.
You are given a Singly Linked List of integers. The task is to find the N-th node from the end of the list.
If the given list is (1 -> -2 -&g...
Find the N-th node from the end of a Singly Linked List of integers.
Traverse the list to find the length L of the list.
Calculate the position of the N-th node from the beginning as L - N + 1.
Traverse the list again to reach the calculated position and return the node's value.
You are given a binary tree consisting of distinct integers and two nodes, X
and Y
. Your task is to find and return the Lowest Common Ancestor (LCA) of these two nodes...
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...
Round duration - 60 minutes
Round difficulty - Easy
Technical Interview round with questions based on DSA
Given 'N' subjects, each containing a certain number of problems, and 'K' friends, assign subjects to friends such that each subject goes to exactly one friend, maintain...
Grammar in compiler design defines the syntax and structure of a programming language.
Grammar specifies the rules for forming valid statements in a programming language.
It consists of a set of production rules that define how valid programs can be constructed.
There are different types of grammars such as context-free grammar, regular grammar, etc.
Example: In C programming language, the grammar specifies that a for loop...
A token in compiler design is a basic unit of syntax that the compiler can understand and process.
Tokens are the smallest units of a program that are meaningful to the compiler.
Examples of tokens include keywords, identifiers, operators, and punctuation symbols.
Tokens are generated by the lexical analysis phase of the compiler.
Tokens are used by the parser to build the abstract syntax tree of the program.
Round duration - 60 minutes
Round difficulty - Easy
Technical round with questions on DSA and Compiler Design mainly. He told me that you’ll be having your final HR round in some time. I knew that I was going well because he seemed to be quite satisfied with my answers.
You are given an arbitrary binary tree consisting of N nodes, each associated with an integer value from 1 to 9. Each root-to-leaf path can be considered a number formed by concat...
A regular language is a language that can be recognized by a finite automaton.
Regular languages can be described by regular expressions.
Regular languages are closed under union, concatenation, and Kleene star operations.
Examples of regular languages include the set of all strings over an alphabet that contain an even number of 'a's.
NP problems are decision problems that can be verified in polynomial time, while NP-Hard problems are at least as hard as the hardest problems in NP.
NP problems can be verified in polynomial time but not necessarily solved in polynomial time.
NP-Hard problems are at least as hard as the hardest problems in NP, but may not be in NP themselves.
Examples of NP problems include the subset sum problem and the traveling salesm...
Round duration - 30 minutes
Round difficulty - Easy
That was the round for which I’ve been waiting for hours
She was very friendly and nice to talk to. It didn’t seem that I was talking to the HR. It was more like talking to a friend. Finally we discussed about the pay-scale and work culture in Accolite.
Tip 1 : Must do Previously asked Interview as well as Online Test Questions.
Tip 2 : Go through all the previous interview experiences from Codestudio and Leetcode.
Tip 3 : Do at-least 2 good projects and you must know every bit of them.
Tip 1 : Have at-least 2 good projects explained in short with all important points covered.
Tip 2 : Every skill must be mentioned.
Tip 3 : Focus on skills, projects and experiences more.
posted on 7 Jul 2017
I appeared for an interview before Sep 2020.
Round duration - 90 minutes
Round difficulty - Medium
It was very good
Given a string ‘S’ composed of lowercase English letters, your task is to identify the longest palindromic substring within ‘S’.
If there are multiple longest palin...
You are given a 2D matrix 'ARR' of size 'N x 3' with integers, where 'N' is the number of rows. Your task is to compute the smallest sum achievable by selecting one...
Round duration - 1 hour
Round difficulty - Medium
It was a good interview
Tip 1 : Daily practice programming
Tip 2 : Work with honesty
Tip 3 : Do with utmost dedication
Tip 1 : Write with honesty
Tip 2 : Mention about your achievements
posted on 15 Sep 2021
I appeared for an interview before Sep 2020.
Round duration - 45 minutes
Round difficulty - Medium
I was asked 2 coding questions, questions from my projects and questions related to different java concepts. One question from cloud computing was also asked.
Given an array arr
of length N
consisting of integers, find the sum of the subarray (including empty subarray) with the maximum sum among all subarrays.
You are given two singly linked lists, where each list represents a positive number without any leading zeros.
Your task is to add these two numbers and return the sum as ...
Add two numbers represented as linked lists and return the sum as a linked list.
Traverse both linked lists simultaneously while keeping track of carry
Create a new linked list to store the sum
Handle cases where one list is longer than the other
Consider edge cases like carry at the end of addition
Round duration - 15 minutes
Round difficulty - Easy
It was a normal discussion about the role, the job expectations and about the company culture.
Tip 1 : Do at-least 200+ dsa problems from various topics.
Tip 2 : Make 2-3 projects and be well versed with their functionality.
Tip 3 : Practice aptitude questions and time yourself while doing the questions.
Tip 1: Keep your resume short, try to make it one pager only.
Tip 2: Mention only position specific projects, and if you have got a good academic score mention it on top.
posted on 4 Jan 2025
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
Hacker rank test, java code and system design
posted on 7 Jun 2025
I appeared for an interview in May 2025, where I was asked the following questions.
I'm from a vibrant city known for its tech innovation, diverse culture, and beautiful parks, where creativity thrives.
The city has a rich history, with landmarks dating back to the 1800s.
It's a hub for tech startups, attracting talent from around the world.
The local cuisine is diverse, offering everything from street food to fine dining.
There are numerous parks and recreational areas, perfect for outdoor activities.
I plan to complete my postgraduate studies by 2025, focusing on advanced software development techniques and emerging technologies.
I am currently enrolled in a master's program that spans two years.
I aim to complete my thesis on machine learning applications by mid-2025.
I have set a timeline to finish all coursework by the end of 2024.
I achieved a commendable percentage in my postgraduate studies, reflecting my dedication and understanding of the subject matter.
Graduated with a percentage of 85%, which placed me in the top 10% of my class.
Completed a thesis project that contributed to my high marks, focusing on software optimization techniques.
Participated in various workshops and seminars, enhancing my practical knowledge and skills.
The purpose of a job is to fulfill responsibilities, contribute to goals, and achieve personal and professional growth.
Provides financial stability: A job allows individuals to earn a living and support themselves and their families.
Fosters personal development: Engaging in work helps individuals develop new skills and gain experience.
Contributes to society: Jobs create products or services that benefit the community a...
posted on 15 Oct 2024
DSA questions were asked of easy to mid
posted on 15 Oct 2024
DSA easy to mid level were asked
Some of the top questions asked at the ONPASSIVE Angular Developer interview -
based on 3 reviews
Rating in categories
Software Engineer
143
salaries
| ₹5 L/yr - ₹10.8 L/yr |
Senior Software Engineer
69
salaries
| ₹8.6 L/yr - ₹16 L/yr |
Business Analyst
47
salaries
| ₹3 L/yr - ₹10.1 L/yr |
Java Developer
40
salaries
| ₹3 L/yr - ₹8 L/yr |
Technical Support Engineer
40
salaries
| ₹2.4 L/yr - ₹6 L/yr |
ITC Infotech
CMS IT Services
KocharTech
3i Infotech