Add office photos
Employer?
Claim Account for FREE

ThoughtSpot

3.8
based on 27 Reviews
Filter interviews by

Parker Hannifin Interview Questions and Answers

Updated 20 Jan 2025

Q1. Given a string, how can we find the minimum length substring whose sum is greater than or equal to a specified target?

Ans.

Use sliding window technique to find minimum length substring with sum >= target.

  • Initialize two pointers at start of string

  • Expand window by moving right pointer until sum >= target

  • Shrink window by moving left pointer while updating minimum length

  • Repeat until end of string is reached

Add your answer

Q2. What is the index of the first occurrence where a pattern string matches with a text string?

Ans.

The index of the first occurrence where a pattern string matches with a text string.

  • Use string searching algorithms like Knuth-Morris-Pratt or Boyer-Moore for efficient pattern matching.

  • Iterate through the text string and check for matches with the pattern string.

  • Return the index of the first occurrence where the pattern matches with the text.

Add your answer

Q3. Implement a persistence stack with constant time operations

Ans.

Implement a persistence stack with constant time operations

  • Use a combination of a stack and a hashmap to achieve constant time operations for push, pop, and get operations

  • Maintain a stack to store the elements and a hashmap to store the index of each element in the stack

  • When pushing an element, add it to the stack and update its index in the hashmap

  • When popping an element, remove it from the stack and also remove its index from the hashmap

  • For get operation, retrieve the eleme...read more

Add your answer

Q4. Median of two sorted arrays and OOPs basics

Ans.

Finding the median of two sorted arrays and discussing OOPs basics

  • To find the median of two sorted arrays, merge the arrays and then calculate the median

  • OOPs basics include concepts like encapsulation, inheritance, polymorphism, and abstraction

  • Example: Median of [1, 3] and [2] is 2.0

Add your answer
Discover Parker Hannifin interview dos and don'ts from real experiences

Q5. Design a library for api testing

Ans.

A library for API testing that provides a set of functions and utilities to simplify the testing process.

  • The library should have functions to send HTTP requests and validate responses.

  • It should support different authentication methods like OAuth, JWT, etc.

  • The library should handle common API testing scenarios like testing CRUD operations, handling different HTTP methods, etc.

  • It should provide utilities for data-driven testing, allowing testers to easily parameterize and itera...read more

Add your answer

Q6. Types of load balancing

Ans.

Load balancing is a technique used to distribute network traffic across multiple servers to ensure optimal performance and availability.

  • Types of load balancing include: round robin, least connections, IP hash, and weighted round robin.

  • Round robin distributes traffic evenly across servers in a sequential manner.

  • Least connections directs traffic to the server with the fewest active connections.

  • IP hash uses the client's IP address to determine which server to send traffic to.

  • Wei...read more

Add your answer

Q7. Promises in Javascript

Ans.

Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.

  • Promises help in handling asynchronous operations in a more organized manner.

  • They can be in three states: pending, fulfilled, or rejected.

  • Promises can be chained using .then() method to handle success and failure cases.

  • They can also be used with async/await for more readable asynchronous code.

Add your answer

Q8. Design Whatsapp

Ans.

Design a messaging app like Whatsapp

  • Implement end-to-end encryption for secure messaging

  • Allow users to send text messages, images, videos, and documents

  • Include features like group chats, voice and video calls, status updates

  • Provide option for users to share their location

  • Develop a user-friendly interface with customizable settings

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Parker Hannifin

based on 14 interviews
Interview experience
3.9
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

3.4
 • 505 Interview Questions
3.7
 • 395 Interview Questions
3.9
 • 303 Interview Questions
4.1
 • 272 Interview Questions
3.6
 • 179 Interview Questions
4.2
 • 177 Interview Questions
View all
Top ThoughtSpot Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter