Given a list of airline tickets as [from, to] pairs, determine if an Eulerian path starting from 'JFK' exists that uses every ticket exactly once. Return true/false. Input: JSON {tickets: [[from,to],...]}.
Input: JSON {tickets}.
Output: Boolean.
Input: {"tickets":[["JFK","SFO"],["JFK","ATL"],["SFO","ATL"],["ATL","JFK"],["ATL","SFO"]]}
Output: true
Explanation: An Euler path from JFK exists.Input: {"tickets":[["JFK","A"],["JFK","B"]]}
Output: false
Explanation: JFK has out-degree 2 but no return edges; no Euler path uses both.0 <= tickets.length <= 10Airport codes are 1-3 uppercase letters