Hacker Rank _ Mathematics

Priya Rammohan
Dec 18, 2022

--

Find the point

Use Desmos to sample the points

Use Khan Academy and WikiPedia and various other math websites to understand what point reflection is

Pick a scientific language like Python to solve this problem, my personal assumption is that easier problems in Hacker Rank wouldn’t require scaling.

When some one else have already solved the problem, we can let go of writing detailed test driven development, when time is crucial.

We can also see that we calculate the slope as rise over run to move the points manually and doing this multiple times by hand, a formula 2p-q must have emerged. where P is point that we rotate over and q is the point that is rotated by 180 degrees to get R.

--

--

No responses yet