Description連結リストの末尾を求める与えられた連結リスト (linked list) について、最後の要素(末尾)を見つけて、その値を出力してください。入力入力は自動的に行われます。何もする必要はありません。出力プログラムは与えられた連結リストの末尾の値を出力してください。例入力出力54 2 9 8 -4-4ConstraintsTime limit: 1.6 secondsMemory limit: 512 MBOutput limit: 1 MBTo check your solution you need to sign inSign in to continueSign in to your accountSign in with GoogleSign in with FacebookSign in with MicrosoftSign in with emailBy continuing, you agree to our Terms of Service and Privacy Policy.