Category: String coding problemConfiguration files at LinkedIn are written in JSON, YAML, and HOCON formats. Malformed config files can bring down multiple services, so validators...Input: String Output: Printed output
codingEasyVerified Question#2
2. Active Sprint Filter
Category: Graph coding problemA project tracking system logs team activity throughout the workday. Each log entry has the format "teamId action timestamp", where action is...Input: Graph (nodes and edges) Output: Printed output
codingEasystring#1
1. Valid Palindrome — Check if the string is a palindrome ignoring cases and non-alphanumeric characters
1. Background: LinkedIn deals with user-generated content, including profile summaries, messages, and posts. Ensuring that strings are processed efficiently is key for enhancing features like search and user communication. 2. Problem statement: Given a string s, write a function that checks if s is a valid palindrome. A valid palindrome reads the same backward as forward after converting all uppercase letters to lowercase and excluding all non-alphanumeric characters. 3. Function/class signature: - def isPalindrome(s: str) -> bool: 4. Example 1: - Input: "A man, a plan, a canal: Panama" - Output: True - Explanation: Alphanumeric characters only are amanaplanacanalpanama, which is a palindrome. 5. Example 2: - Input: "race a car" - Output: False - Explanation: After filtering, the characters do not form a palindrome. 6. Constraints: - 0 <= s.length <= 2 * 10^5 - s consists of printable ASCII characters.
Start practicing LinkedIn questions
Sign up for free to access walkthroughs, AI-generated questions, and more.