about | help | code help+videos | done | prefs |
Given two integer arrays named "timeA" and "timeB" that hold integers for hours, minutes, and seconds, return "a" if timeA is earlier in the day, return "b" if timeB is earlier, and return "same" if they are the same time. dateTime_compareTimes([12, 0, 0], [12, 0, 0]) → "same" dateTime_compareTimes([12, 0, 0], [13, 0, 0]) → "a" dateTime_compareTimes([12, 0, 0], [11, 0, 0]) → "b" ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Copyright Nick Parlante 2017 - privacy