about | help | code help+videos | done | prefs |
same2ndLast
public boolean same2ndLast(int[] nums)
same2ndLast([2, 1, 4, 5, 6, 7, 4, 1]) → true same2ndLast([10, 6, 7, 1, 2, 3, 8, 6]) → true same2ndLast([3, 1, 2, 10, 11, 12, 3, 4]) → false ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 1
Copyright Nick Parlante 2017 - privacy