about | help | code help+videos | done | prefs |
Solve this problem first: https://codingbat.com/prob/p298339
Define a function that when passed an integer, returns true if it can be split in a way that the left and right parts are both prime, false otherwise.
primeCombination(277) → false primeCombination(893) → true primeCombination(7313) → true ...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: 4 Post-solution available
Copyright Nick Parlante 2017 - privacy