You are viewing a single comment's thread. Return to all comments →
Java 15
public static List<Integer> findPoint(int px, int py, int qx, int qy) { List<Integer> result = new ArrayList<>(); int shadowX = (2*qx) - px; int shadowY = (2*qy) - py; result.add(shadowX); result.add(shadowY); return result; }
Seems like cookies are disabled on this browser, please enable them to open this website
Find the Point
You are viewing a single comment's thread. Return to all comments →
Java 15