Company: Infosec_intern_flipkart(cybersec)
Difficulty: medium
Process Log Analysis Problem Description You are given a list of log entries where each entry represents a process execution. Each log entry is a string containing multiple fields separated by spaces. The first field of every log entry is the Process_Name . Your task is to identify all process names that appear more than once in the log. You need to return or print these process names sorted in ascending alphabetical order. The input is provided as a list of strings, where each string corresponds to one line from the log file. Examples Example 1: Input: log = [ "p1 100 start", "p2 200 start", "p1 105 end", "p3 300 start", "p2 205 end" ] Output: p1 p2 Explanation: The process "p1" appears twice (once at start, once at end). The process "p2" appears twice. The process "p3" appears only once. The output contains "p1" and "p2" sorted alphabetically. Constraints The number of log entries will be at least 1. Each log entry string will contain at least the process name. Process names are case