i
YASH Technologies
Filter interviews by
I applied via Naukri.com and was interviewed in Jun 2023. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2023. There were 2 interview rounds.
1. Find longest repeating character from back.
2. Find all non-duplicates in an array and return in sorted manner.
The class will have to provide its own implementation of the conflicting default method.
When implementing multiple interfaces with the same default method, a class must provide its own implementation of the conflicting method.
The class cannot inherit the default implementation from both interfaces.
The class can choose to implement one of the default methods and provide its own implementation for the other.
Alternatively...
Terminal operations in streams produce a result or a side effect, while intermediate operations transform or filter the data.
Terminal operations are the final operations in a stream pipeline, such as forEach, collect, or reduce.
Intermediate operations are operations that can be chained together, such as filter, map, or sorted.
Terminal operations trigger the processing of the stream and produce a result or a side effect...
try vs try-with-resources
The 'try' statement is used to define a block of code to be tested for exceptions.
The 'try-with-resources' statement is used to automatically close resources that implement the AutoCloseable interface.
Try-with-resources is more concise and less error-prone compared to try-catch-finally.
Try-with-resources can handle multiple resources in a single statement.
Iterator is a universal interface for iterating over a collection, while ListIterator is a specialized interface for iterating over lists.
Iterator can only move forward, while ListIterator can move in both directions.
ListIterator has additional methods like previous(), hasPrevious(), and add().
ListIterator is only available for List implementations, while Iterator can be used with any collection.
Projections in Spring Data JPA allow customizing the shape of the data returned from a query.
Projections are used to retrieve specific fields or a subset of fields from an entity.
They help in reducing the amount of data transferred over the network.
Projections can be defined using interfaces or classes.
They can be used with both JPQL and native SQL queries.
Projections can be used to fetch related entities as well.
The two types of compiler in Angular are JIT (Just-in-Time) compiler and AOT (Ahead-of-Time) compiler.
JIT compiler compiles the code at runtime in the browser.
AOT compiler compiles the code before the application is deployed to the browser.
JIT compilation is slower but allows for faster development and debugging.
AOT compilation is faster but requires additional build step before deployment.
Data binding in Angular allows automatic synchronization of data between the model and the view.
Interpolation: {{ }} - binds data from the component to the view
Property binding: [] - binds data from the component to an element property
Event binding: () - binds an event from the view to a method in the component
Two-way binding: [()] - combines property and event binding to achieve two-way data flow
Promises are used for asynchronous programming in JavaScript, while Observables are used for reactive programming.
Promises represent a single value that may be available now or in the future.
Observables represent a stream of values that can be emitted over time.
Promises are eager, meaning they start executing as soon as they are created.
Observables are lazy, meaning they only start executing when subscribed to.
Promises...
Constructor is a special method used to initialize an object, while ngOnInit is a lifecycle hook in Angular.
Constructor is used to create and initialize an object of a class.
ngOnInit is a lifecycle hook in Angular that is called after the component is initialized.
Constructor is defined using the constructor keyword, while ngOnInit is a method defined in the component class.
Constructor is called only once during the cre...
Inline templates are used for small, simple templates, while external templates are used for larger, complex templates.
Inline templates are defined within the component's TypeScript file using the template property.
External templates are defined in separate HTML files and linked to the component using the templateUrl property.
Inline templates are useful for small components or when the template is simple and doesn't re...
HttpClient module is used for http calls in Angular.
HttpClient module is part of the @angular/common/http package.
It provides a simplified API for making HTTP requests.
It supports various HTTP methods like GET, POST, PUT, DELETE, etc.
It also supports features like request/response headers, query parameters, error handling, etc.
Example: import { HttpClient } from '@angular/common/http';
posted on 31 Dec 2024
I applied via Recruitment Consulltant and was interviewed before Dec 2023. There were 2 interview rounds.
It was coding test and MCQ questions with core subjects.
posted on 26 Nov 2024
Finding duplicate values in an array of strings
Iterate through the array and store each element in a hash set
If an element is already in the hash set, it is a duplicate
Return the duplicate values found
Generators in JavaScript are functions that can be paused and resumed, allowing for asynchronous programming.
Generators are defined using function* syntax.
They use the yield keyword to pause execution and return a value.
Generators can be iterated over using a for...of loop.
They are commonly used for asynchronous operations and managing state.
Flatten an array without using inbuilt functions
Create a recursive function to iterate through the array elements
Check if each element is an array, if so, call the function recursively
Concatenate the elements into a new array
I applied via LinkedIn and was interviewed in Apr 2024. There were 2 interview rounds.
Spring Boot provides support for caching through annotations like @Cacheable, @CacheEvict, @CachePut.
Use @EnableCaching annotation to enable caching in Spring Boot application
Use @Cacheable annotation to cache the result of a method
Use @CacheEvict annotation to remove entries from the cache
Use @CachePut annotation to update the cache without interfering with the method execution
posted on 30 Sep 2022
There will be machin test on best on MERN stack
posted on 12 Dec 2022
I applied via Naukri.com and was interviewed in Jun 2022. There were 4 interview rounds.
Data structure Hash Map problem and java 8 code
Coding singlton code and immutable code hashcode equals java 8 code data structure spring boot microservicis
based on 1 review
Rating in categories
Software Engineer
1.3k
salaries
| ₹3 L/yr - ₹12 L/yr |
Senior Software Engineer
1.3k
salaries
| ₹6.1 L/yr - ₹21 L/yr |
Associate Consultant
757
salaries
| ₹2.2 L/yr - ₹10.3 L/yr |
Consultant
711
salaries
| ₹4.8 L/yr - ₹20 L/yr |
Module Lead
518
salaries
| ₹9 L/yr - ₹32 L/yr |
TCS
Infosys
Wipro
Tech Mahindra