A
Ace Hacker
NOTIFICATIONS
NEW ASSIGNMENT ISSUED
YESTERDAY, 14:02 IST
PAYMENT METHOD ENABLED
10 MINUTES AGO
SEE ALL
Shraddha Rao
CALENDAR
SETTINGS
LOGOUT
THIS WEEK
Dashboard
Assignments
Calendar
Recordings
AceHacker.com
Run
Submit
Undo
Cancel
Create a recursive function in Go to compute lg(N!) such that the iterator only returns the value of every nth element, where n is any integer greater than zero. Remember: The predicate in your program must perform a Boolean AND.
Input: 5, 7 | 2, 3 | 7, 7
Output: 35 | 6 | 49
Run
Submit
Undo
Cancel