-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AY19/20 SS1 qn 7 #602
Comments
Hi, what I did was I first created a stream of integers from 1 to n. I then map each integer to a point which I will then pass as an argument to a circle. The two points of the circle always add up to n + 1. So the rough idea to create a circle would be |
I did this which is the same as what @tzk00 did I think List< Circle > getCircles(int n) { |
List getCircles(int n) { |
List getCircles(int n) { |
Source
AY19/20 SS1
Description
Hi Everyone, I am abit weak in streams, how would you go about coding this out?
Screenshots (if any):
Insert Images here if necessary
The text was updated successfully, but these errors were encountered: