about | help | code help+videos | done | prefs |
Given a list of triangles, return a list of their corresponding classifications ("right," "obtuse," "acute"). Each item in the list of triangles is a list of three side lengths for the triangle. Assume the side lengths are allowable side lengths for a triangle. classifyThem([[3, 4, 5], [3, 4, 6], [3, 3, 4]]) → ['right', 'obtuse', 'acute'] classifyThem([[4, 3, 5], [6, 4, 3]]) → ['right', 'obtuse'] classifyThem([[3, 4, 3], [5, 5, 5]]) → ['acute', 'acute'] ...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: 195
Copyright Nick Parlante 2017 - privacy