PAYPAL Software Engineer Hiring Challenge 2022 | OA Questions and Detailed Java Solutions

PayPal · Question · Posted Jun 2026

Q1. Network Address Classification Problem Statement A networking platform receives user-submitted address strings and needs to determine their format. Given a string queryIP, classify it as: "IPv4" if it is a valid IPv4 address. "IPv6" if it is a valid IPv6 address. "Neither" if it matches neither format. IPv4 Rules Contains exactly 4 numeric segments separated by dots (.). Each segment must be between 0 and 255. No leading zeros are allowed. IPv6 Rules Contains exactly 8 hexadecimal groups separated ...

The full answer & interview discussion are available to premium members.

Log in Create a free account