Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package fibbase;
- public class FibBase {
- /**
- *
- * @param a
- * > 0
- * @param b
- * >= a
- * @return y(a) + y(a+1) + y(a+2) + ... + y(b-1) + y(b)
- */
- public static long ySum(long a, long b) {
- // TODO: Implement this method using the definitions
- // for y(a) in the README document.
- return 0;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement