[Code](https://pastebin.com/apqP6M0q) [Problem](https://www.interviewbit.com/problems/points-on-the-straight-line/)↵
 As you can see I am trying to update map second (of pair) but it is not getting updated. As these are the results of debug.↵
↵
↵
Also tell tips or link to tutorial about pair map combined use for complex cases as it is very helpfull↵
↵
Thanks↵
↵
↵
↵
![ ](https://
![ ](https://
↵
Also tell tips or link to tutorial about pair map combined use for complex cases as it is very helpfull↵
↵
Thanks↵
↵
↵
↵