i
HCLTech
Filter interviews by
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensure a class has only one instance by providing a global access point to it
Use a private constructor to restrict instantiation of the class
Provide a static method to access the instance of the class
Life cycle hooks in Angular are functions that are called at specific points in the component's life cycle.
ngOnChanges: Called when an input property changes
ngOnInit: Called once the component is initialized
ngOnDestroy: Called before the component is destroyed
Extension methods allow adding new methods to existing types without modifying the original type.
Extension methods must be defined in a static class.
The first parameter of an extension method specifies the type being extended and is preceded by the 'this' keyword.
Extension methods can be called as if they were instance methods of the extended type.
Use event emitters or callback functions to send data from child to parent component in Angular
Use @Output decorator in Angular to create custom events in child component and emit data to parent component
Pass a function as a prop from parent to child component, which child can call to send data back to parent
Use services to share data between components in Angular
What people are saying about HCLTech
CSS stands for Cascading Style Sheets. It is a styling language used to control the look and feel of a website.
CSS is used to style the layout and design of web pages.
It allows for the separation of content from presentation.
CSS can be applied inline, internally within an HTML document, or externally in a separate file.
Selectors are used to target specific elements on a webpage for styling.
CSS properties include c...
HTML is a markup language used for creating and structuring web pages.
HTML stands for HyperText Markup Language
It is used to create the structure and content of web pages
HTML elements are surrounded by angle brackets, like <html>
Attributes can be added to HTML elements to provide additional information
SQL is a standard language for managing relational databases. MySQL is an open-source relational database management system.
SQL stands for Structured Query Language
SQL is used to communicate with databases to perform tasks like querying data, updating data, and creating databases
MySQL is a popular open-source relational database management system
MySQL is often used in web development for storing and retrieving dat...
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensure a class has only one instance by providing a global access point to it
Use a private constructor to restrict instantiation of the class
Provide a static method to access the instance of the class
Extension methods allow adding new methods to existing types without modifying the original type.
Extension methods must be defined in a static class.
The first parameter of an extension method specifies the type being extended and is preceded by the 'this' keyword.
Extension methods can be called as if they were instance methods of the extended type.
Life cycle hooks in Angular are functions that are called at specific points in the component's life cycle.
ngOnChanges: Called when an input property changes
ngOnInit: Called once the component is initialized
ngOnDestroy: Called before the component is destroyed
Use event emitters or callback functions to send data from child to parent component in Angular
Use @Output decorator in Angular to create custom events in child component and emit data to parent component
Pass a function as a prop from parent to child component, which child can call to send data back to parent
Use services to share data between components in Angular
The goal of this year is to enhance my skills in full stack .NET development and contribute to impactful projects.
Enhance skills in full stack .NET development through continuous learning and practice
Contribute to impactful projects by delivering high-quality code and solutions
Collaborate with team members to achieve project goals and deadlines
I appeared for an interview before Feb 2024.
HTML is a markup language used for creating and structuring web pages.
HTML stands for HyperText Markup Language
It is used to create the structure and content of web pages
HTML elements are surrounded by angle brackets, like <html>
Attributes can be added to HTML elements to provide additional information
SQL is a standard language for managing relational databases. MySQL is an open-source relational database management system.
SQL stands for Structured Query Language
SQL is used to communicate with databases to perform tasks like querying data, updating data, and creating databases
MySQL is a popular open-source relational database management system
MySQL is often used in web development for storing and retrieving data
CSS stands for Cascading Style Sheets. It is a styling language used to control the look and feel of a website.
CSS is used to style the layout and design of web pages.
It allows for the separation of content from presentation.
CSS can be applied inline, internally within an HTML document, or externally in a separate file.
Selectors are used to target specific elements on a webpage for styling.
CSS properties include color,...
I applied via Recruitment Consultant and was interviewed before Oct 2020. There was 1 interview round.
What people are saying about HCLTech
I applied via Campus Placement and was interviewed before Nov 2021. There were 2 interview rounds.
Best wishes to you know that you have to come to the day da
Hi sir I have sent the best for first year and all the best for your reference
I applied via Company Website and was interviewed in May 2021. There were 3 interview rounds.
Design Patterns are reusable solutions to commonly occurring problems in software design.
Design Patterns provide a common vocabulary for developers to communicate about solutions to problems.
They help in making code more flexible, reusable, and maintainable.
Examples of Design Patterns include Singleton, Factory, Observer, and Decorator.
I appeared for an interview before Sep 2020.
Round duration - 30 Minutes
Round difficulty - Easy
The interviewer was quite friendly. There were two questions one from arrays and other one from strings.
Implement a program that performs basic string compression. When a character is consecutively repeated more than once, replace the consecutive duplicates with the coun...
Implement a program to compress a string by replacing consecutive duplicates with the count of repetitions.
Iterate through the string and keep track of consecutive characters and their counts.
Replace consecutive duplicates with the count of repetitions.
Ensure the count of repetitions is ≤ 9.
Return the compressed string.
Given an array ARR
consisting of N
integers, your goal is to determine the maximum possible sum of a non-empty contiguous subarray within this array.
Find the maximum sum of a contiguous subarray in an array of integers.
Use Kadane's algorithm to find the maximum subarray sum in linear time.
Initialize two variables: maxEndingHere and maxSoFar to keep track of the current subarray sum and the maximum subarray sum seen so far.
Iterate through the array and update the variables accordingly.
Return the maxSoFar as the result.
Tip 1 : Practice at-least 200-250 questions from different topics.
Tip 2 : Prepare aptitude well.
Tip 1 : Resume should be always one pager.
Tip 2 : Mention all your projects and if you have a good score mention it on top.
based on 2 interview experiences
Difficulty level
Duration
based on 2 reviews
Rating in categories
Software Engineer
24.9k
salaries
| ₹2.7 L/yr - ₹8.1 L/yr |
Technical Lead
22.9k
salaries
| ₹10.9 L/yr - ₹21 L/yr |
Senior Software Engineer
16.8k
salaries
| ₹5.4 L/yr - ₹15.8 L/yr |
Lead Engineer
16.4k
salaries
| ₹5.3 L/yr - ₹12.4 L/yr |
Analyst
15.9k
salaries
| ₹2.3 L/yr - ₹6.5 L/yr |
TCS
Wipro
Accenture
Cognizant