Advertisement
Guest User

Untitled

a guest
Sep 17th, 2019
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. 1
  2. 1 1
  3. 1 2 1
  4. 1 3 3 1
  5. 1 4 6 4 1
  6. 1 5 10 10 5 1
  7. 1 6 15 20 15 6 1
  8.  
  9. 1. What is the next line going to be?
  10. 2. Write a function which take N as input
  11. N = integer > 0
  12. that prints out N rows of the pascal’s triangle
  13. Give them max 20m to get it done
  14. ask them to say out loud their strategy
  15. of solving this
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement