i
British Petroleum
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Jul 2023. There were 4 interview rounds.
Codility Test of 90 minutes and graph question was asked.
Implement LRU cache with expiration, priority, and recentness based eviction policy.
Use a doubly linked list to keep track of the order of elements based on recentness.
Use a hashmap to store key-value pairs for quick access.
Implement a priority queue to handle eviction based on priority.
Set expiration time for each element and remove expired elements during access or eviction.
Implement k-Vendor problem
Create a function that takes in an array of strings and an integer k
Return the kth most frequent string in the array
Use a hashmap to store the frequency of each string
Implement a Smoke Collector problem
Create a class SmokeCollector with methods to collect smoke data
Implement a method to start collecting smoke data
Design a method to analyze and store the collected smoke data
Top trending discussions
Decorators in Python are functions that modify the behavior of other functions or methods.
Decorators are denoted by the @ symbol followed by the decorator function name.
They are commonly used for logging, authentication, and memoization.
Example: @staticmethod, @classmethod, @property
No, if an object is defined with 'const' keyword, it cannot be modified in the future.
Objects defined with 'const' keyword are read-only and cannot be reassigned.
Properties of a 'const' object can still be modified, but the object itself cannot be reassigned.
Example: const obj = { key: 'value' }; obj.key = 'new value'; // Valid, but obj = { newKey: 'newValue' }; // Invalid
I applied via Naukri.com and was interviewed in Dec 2024. There were 2 interview rounds.
Just easy or medium level leetcode questions
The topic was how AI is affecting softare developer
posted on 27 May 2024
30 technical questions
Object-oriented programming concepts that focus on objects and classes.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class).
Inheritance: Ability of a class to inherit properties and behavior from another class.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
I applied via Company Website and was interviewed in Jun 2023. There were 4 interview rounds.
Asked Real Time Scenario to create Microservice for Train and Station information. The interviewer asked what are the properties needs to be considered for evaluating service.
Core Java 11 questions: Webservices, Improvement in JVM, Threads
Java 8: Asked to write a program based on Group By Scenario.
The interview lasts around 2 hrs.
posted on 4 Aug 2024
I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.
A DSA question leetcode medium
About Previous project
I applied via Approached by Company and was interviewed in Feb 2023. There were 2 interview rounds.
Object-oriented programming (OOP) is a programming paradigm that uses objects to represent and manipulate data.
OOP is based on the concept of classes and objects.
It allows for encapsulation, inheritance, and polymorphism.
Encapsulation hides the internal details of an object and provides a public interface.
Inheritance allows classes to inherit properties and methods from other classes.
Polymorphism allows objects of diff...
Interface defines only method signatures while abstract class can have method implementations.
An interface can be implemented by multiple classes while a class can extend only one abstract class.
An abstract class can have instance variables while an interface cannot.
An abstract class can have constructors while an interface cannot.
An abstract class can provide default implementations for some methods while an interface...
Docker is a containerization platform while Kubernetes is a container orchestration tool.
Docker is used to create, deploy, and run applications in containers.
Kubernetes is used to manage and orchestrate multiple containers in a cluster.
Docker provides a way to package and distribute applications in a portable manner.
Kubernetes provides features like automatic scaling, load balancing, and self-healing.
Docker is a lower-...
Event emitter is a class in Angular that allows communication between components.
Event emitter is used to emit custom events in Angular.
It allows communication between parent and child components.
It can be used to pass data from child to parent component.
It is a part of the @angular/core package.
Example: @Output() eventEmitter = new EventEmitter();
View encapsulation is a feature in Angular that allows for the creation of isolated components.
View encapsulation ensures that styles defined in a component do not affect other components.
There are three types of view encapsulation: Emulated, Native, and None.
Emulated is the default and uses CSS to emulate shadow DOM.
Native uses the browser's native shadow DOM implementation.
None does not provide any view encapsulation
Components in Angular can communicate with each other using @Input, @Output, and services.
Use @Input to pass data from parent to child component
Use @Output to emit events from child to parent component
Use services to share data between components that are not directly related
Use RxJS subjects to create a shared data stream between components
I applied via LinkedIn and was interviewed before Nov 2022. There were 3 interview rounds.
Asked basic C++ Qs, tree and linked list Qs
based on 1 interview
Interview experience
Senior Analyst
103
salaries
| ₹5.6 L/yr - ₹19.5 L/yr |
Analyst
86
salaries
| ₹4.8 L/yr - ₹14 L/yr |
ARC Analyst
69
salaries
| ₹5.5 L/yr - ₹16 L/yr |
Financial Analyst
57
salaries
| ₹5.5 L/yr - ₹13.9 L/yr |
Software Engineer
46
salaries
| ₹19.5 L/yr - ₹50 L/yr |
Reliance Industries
Indian Oil Corporation
Hindustan Petroleum
Bharat Petroleum