i
UST
Filter interviews by
Python core concepts and basic coding challenges
I applied via Referral and was interviewed before Apr 2023. There was 1 interview round.
I was interviewed in Oct 2021.
Round duration - 60 minutes
Round difficulty - Medium
This round had 1 question related to DSA and then the rest of the questions were from Java , OOPS and Spring Boot.
Approach :
1) If the head is NULL, we simply return HEAD.
2) If there is only one element in the linked list, we simply return it as it is the midpoint.
3) Otherwise, we initialise 2 pointers ‘fast’ and ‘slow’ both poiniting to head initially.
4) We traverse the linked list until fast is the last element or fast is beyond the linked list i.e it points to NULL.
5) In each iteration, the ‘fast’ pointer jumps 2 times faster as...
How ConcurrentHashMap works in Java?
According to ConcurrentHashMap Oracle docs,
The constructor of ConcurrentHashMap looks like this :
public ConcurrentHashMap (int initialCapacity, float loadFactor, int concurrencyLevel)
So the above line creates a new, empty map with the specified initial capacity, load factor and concurrency level where, Important Parameters to consider from ConcurrentHashMap Constructor :
initialCapacity - the initial capacity. The imple...
What are the features of a lambda expression?
Below are the two significant features of the methods that are defined as the lambda expressions :
1) Lambda expressions can be passed as a parameter to another method.
2) Lambda expressions can be standalone without belonging to any class.
What is dependency Injection?
The process of injecting dependent bean objects into target bean objects is called dependency injection.
1) Setter Injection : The IOC container will inject the dependent bean object into the target bean object by calling the setter method.
2) Constructor Injection : The IOC container will inject the dependent bean object into the target bean object by calling the target bean constructor.
3) Field Injection : The IOC cont...
Difference between PUT and POST methods?
1) PUT method is called when you have to modify a single resource while POST method is called when you have to add a child resource.
2) PUT method response can be cached but you cannot cache POST method responses.
3) You can use UPDATE query in PUT whereas you can use create query in POST.
4) In PUT method, the client decides which URI resource should have, and in POST method, the server decides which URI resource should ...
Explain SOLID principles in Object Oriented Design.
The SOLID principle is an acronym of the five principles which is given below :
1) Single Responsibility Principle (SRP)
2) Open/Closed Principle
3) Liskov’s Substitution Principle (LSP)
4) Interface Segregation Principle (ISP)
5) Dependency Inversion Principle (DIP)
Uses of SOLID design principles :
1) The SOLID principle helps in reducing tight coupling.
2) Tight coupling means a group of classes are highly dependent on one ...
What do you mean by virtual functions in C++?
1) A C++ virtual function is a member function in the base class that you redefine in a derived class. It is declared using the virtual keyword.
2) It is used to tell the compiler to perform dynamic linkage or late binding on the function.
3) When the function is made virtual, C++ determines which function is to be invoked at the runtime based on the type of the object pointed by the base class pointer.
Some rules regardi...
Round duration - 60 minutes
Round difficulty - Medium
This round started with some questions from Spring Boot and Hibernate and then the interviewer moved on to some more questions from MVC and Microservices.
What Are the Basic Annotations that Spring Boot Offers?
The primary annotations that Spring Boot offers reside in its "org.springframework.boot.autoconfigure" and its sub-packages. Here are a couple of basic ones :
@EnableAutoConfiguration – to make Spring Boot look for auto-configuration beans on its classpath and automatically apply them.
@SpringBootApplication – used to denote the main class of a Boot Application. This annotation combines @Configuration, @EnableAutoConfigu...
Explain @RestController annotation in Sprint boot?
It is a combination of @Controller and @ResponseBody, used for creating a restful controller. It converts the response to JSON or XML. It ensures that data returned by each method will be written straight into the response body instead of returning a template.
What is hibernate caching?
Hibernate caching is the strategy for improving the application performance by pooling objects in the cache so that the queries are executed faster. Hibernate caching is particularly useful when fetching the same data that is executed multiple times. Rather than hitting the database, we can just access the data from the cache. This results in reduced throughput time of the application.
Types of Hibernate Caching
Fi...
Can you tell something about the N+1 SELECT problem in Hibernate?
N+1 SELECT problem is due to the result of using lazy loading and on-demand fetching strategy. Let's take an example. If you have an N items list and each item from the list has a dependency on a collection of another object, say bid. In order to find the highest bid for each item while using the lazy loading strategy, hibernate has to first fire 1 query to load all items and then subsequently fire N queries to load bi...
What are the concurrency strategies available in hibernate?
Concurrency strategies are the mediators responsible for storing and retrieving items from the cache. While enabling second-level cache, it is the responsibility of the developer to provide what strategy is to be implemented to decide for each persistent class and collection.
Following are the concurrency strategies that are used :
1) Transactional: This is used in cases of updating data that most likely causes stale dat...
Explain in brief the role of different MVC components?
The different MVC components have the following roles -
1) Presentation : This component takes care of the visual representation of a particular abstraction in the application.
2) Control : This component takes care of the consistency and uniformity between the abstraction within the system along with their presentation to the user. It is also responsible for communicating with all other controls within the MVC system.
3)...
How is the routing carried out in MVC?
1) The RouteCollection contains a set of routes that are responsible for registering the routes in the application.
2) The RegisterRoutes method is used for recording the routes in the collection.
3) The URL patterns are defined by the routes and a handler is used which checks the request matching the pattern.
4) The MVC routing has 3 parameters.
4.1) The first parameter determines the name of the route.
4.2) The second par...
Explain how independent microservices communicate with each other.
Communication between microservices can take place through :
1) HTTP/REST with JSON or binary protocol for request-response
2) Websockets for streaming.
3) A broker or server program that uses advanced routing algorithms.
RabbitMQ, Nats, Kafka, etc., can be used as message brokers; each is built to handle a particular message semantic. You can also use Backend as a Service like Space Cloud to automate your entire backend.
Explain OAuth.
Generally speaking, OAuth (Open Authorization Protocol) enables users to authenticate themselves with third-party service providers. With this protocol, you can access client applications on HTTP for third-party providers such as GitHub, Facebook, etc. Using it, you can also share resources on one site with another site without requiring their credentials.
Round duration - 30 minutes
Round difficulty - Easy
This was a Technical Cum HR round where I was first asked some basic Java related concepts and then we discussed about my expectations from the company , learnings and growth in the forthcomig years. I would suggest be honest and try to communicate your thoughts properly in these type of rounds to maximise your chances of getting selected.
Why should we hire you ?
What are your expectations from the company?
How was your overall interview experience?
What are your strengths and weakness according to you?
Where do you see yourse...
Tip 1 : The cross questioning can go intense some time, think before you speak.
Tip 2 : Be open minded and answer whatever you are thinking, in these rounds I feel it is important to have opinion.
Tip 3 : Context of questions can be switched, pay attention to the details. It is okay to ask questions in these round, like what are the projects currently the company is investing, which team you are mentoring. How all is the
Why are you looking for a job change?
Tip : For an experienced professional seeking a change, this is a common question. The easiest method to respond to this question is to state that you are leaving your current work in order to advance your career. Make sure you don't criticize or speak poorly about the company where you now work.
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 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.
I applied via Referral and was interviewed in Sep 2021. There was 1 interview round.
Questions related to Java concepts and frameworks
Fail safe fail fast - used in concurrent programming to handle exceptions and ensure thread safety
String is immutable to ensure thread safety and prevent unintended changes to the string
String buffer vs String builder - both are used to manipulate strings, but string builder is faster and not thread-safe
Executor framework - used for asynchronous task execution and thread...
UST interview questions for designations
Pointers
Get interview-ready with Top UST Interview Questions
posted on 17 Oct 2024
REST API is lightweight, flexible, and widely used, while SOAP API is more rigid and heavy.
REST API uses standard HTTP methods like GET, POST, PUT, DELETE, while SOAP API uses XML for communication.
REST API is stateless and can be cached, making it faster, while SOAP API is stateful and requires more bandwidth.
REST API is easier to implement and understand, while SOAP API has more built-in security features.
Examples: R
posted on 19 Aug 2024
Questions from Resume, solving code snippets, DSA Algo
GCD, Core Data, Higher Order Functions, ARC are key concepts in iOS development.
GCD (Grand Central Dispatch) is a technology for managing concurrent operations.
Core Data is a framework for managing the model layer objects in an application.
Higher Order Functions are functions that operate on other functions, taking them as arguments or returning them.
ARC (Automatic Reference Counting) is a memory management technology
posted on 29 Apr 2024
I applied via Approached by Company and was interviewed in Mar 2024. There were 2 interview rounds.
HTTP/1.1 is the older version with persistent connections, HTTP/2.0 introduces multiplexing and server push, and HTTP/3.0 uses QUIC protocol for faster performance.
HTTP/1.1 uses persistent connections for each request/response, leading to potential performance issues.
HTTP/2.0 introduces multiplexing, allowing multiple requests/responses to be sent over a single connection simultaneously.
HTTP/2.0 also supports server pu...
Print all possible subsets from a given slice of integers
Use recursion to generate all possible subsets
For each element in the slice, include or exclude it in the subset
Keep track of the current subset being generated
Context package in Go language provides a way to pass around deadlines, cancellation signals, and other request-scoped values.
Context package is used to manage deadlines, cancellation signals, and request-scoped values in Go programs.
It allows passing data between function calls without having to pass them explicitly as arguments.
Context package is commonly used in web servers to manage request-specific data and timeou...
REST API is a standard protocol for web services using HTTP, while gRPC is a high-performance, open-source RPC framework.
REST API uses HTTP for communication, making it easy to implement and widely supported.
gRPC is a modern, high-performance RPC framework that uses HTTP/2 for transport and Protocol Buffers for serialization.
gRPC is more efficient in terms of performance and supports features like bidirectional streami...
Use copy() function to create a new slice and reflect changes in original slice to the new slice.
Use the copy() function to create a new slice with the same length as the original slice.
Make changes to the original slice.
The changes made to the original slice will automatically reflect in the new slice as well.
GoLang is best for its simplicity, efficiency, concurrency support, and strong community backing.
Efficient performance due to compiled nature and garbage collection
Concurrency support with goroutines and channels
Strong standard library with built-in support for networking, encoding, and more
Simple and clean syntax that promotes readability and maintainability
Growing community and ecosystem with popular frameworks like
Kubernetes is an open-source container orchestration platform for automating deployment, scaling, and management of containerized applications.
Kubernetes follows a master-slave architecture with a master node controlling multiple worker nodes.
Master node components include API server, scheduler, controller manager, and etcd.
Worker node components include kubelet, kube-proxy, and container runtime (e.g. Docker).
Kubernet...
based on 108 reviews
Rating in categories
Software Developer
2k
salaries
| ₹3.5 L/yr - ₹12.1 L/yr |
Senior Software Engineer
1.6k
salaries
| ₹6.5 L/yr - ₹26 L/yr |
Software Engineer
1.3k
salaries
| ₹3.7 L/yr - ₹14.6 L/yr |
System Analyst
1.2k
salaries
| ₹6.5 L/yr - ₹22.2 L/yr |
Senior Software Developer
1.1k
salaries
| ₹5.5 L/yr - ₹19.6 L/yr |
TCS
Infosys
Wipro
HCLTech