Decimal Point Analytics
K P Towers Interview Questions and Answers
Q1. What is mutual fund?
A mutual fund is a type of investment vehicle that pools money from multiple investors to invest in a diversified portfolio of stocks, bonds, or other securities.
Mutual funds are managed by professional fund managers who make investment decisions on behalf of the investors.
Investors buy shares in the mutual fund and the value of their investment is determined by the performance of the underlying securities in the portfolio.
Mutual funds offer investors the benefits of diversif...read more
Rahul is a programming enthusiast. He is currently learning about arrays/lists. One day his teacher asked him to solve a very difficult problem. The problem was to find the length of t...read more
The problem is to find the length of the smallest subarray in a given array with its sum greater than a given value.
Iterate through the array and keep track of the current subarray sum
If the current sum becomes greater than the given value, update the minimum subarray length
If the current sum becomes negative, reset the sum and start a new subarray
Return the minimum subarray length
You are given the head of a linked list containing integers, You need to find out whether the given linked list is circular or not.
Note :
1. A linked list is said to be circular if it has no n...read more
The task is to determine whether a given linked list is circular or not.
A linked list is circular if the next pointer of the last node points to the first node.
An empty linked list is also considered circular.
Check if any node has its next pointer equal to NULL.
All the integers in the linked list are unique.
The next pointer of a node with i'th integer is linked to the node with data (i+1)'th integer.
You are given an array consisting of N non-negative integers, and an integer K denoting the length of a subarray, your task is to determine the maximum elements for each subar...read more
The task is to find the maximum elements for each subarray of size K in a given array.
Iterate through the array and maintain a deque of indices of the maximum elements in the current window of size K.
For each new element, remove indices from the deque that are outside the current window.
Add the index of the new element to the deque, and print the maximum element of the window if the first index in the deque is outside the window.
Q5. strenghts of ypu
My strengths include strong communication skills, adaptability, and problem-solving abilities.
Strong communication skills: able to effectively convey ideas and information
Adaptability: able to quickly adjust to new situations and challenges
Problem-solving abilities: able to analyze situations and find effective solutions
Q6. Find the repeating element in the array
Use a hashmap to find the repeating element in the array of strings
Iterate through the array and store each element in a hashmap with its frequency
Check for any element with frequency greater than 1, that is the repeating element
Q7. define four pillars of OOPS.
Encapsulation, Inheritance, Polymorphism, Abstraction
Encapsulation: Bundling data and methods that operate on the data into a single unit.
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.
Top HR Questions asked in K P Towers
Interview Process at K P Towers
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month