JobsJob TrackerJob alerts

Amagi ยท 13 questions

All 13Coding 13
  • Matrix Element Sum Based on Indices ParityCoding
  • Product of Array Except SelfCoding
  • Binary Tree Zig-Zag TraversalCoding
  • Find Insertion Position in Sorted ArrayCoding
  • Find Kth Maximum from Infinite StreamCoding
  • K-th element in lexicographically sorted stringCoding
  • Minimum cost to buy N pensCoding
  • Check if three points are collinearCoding
  • Sum of Fibonacci numbers at prime indicesCoding
  • Sum of all leaf nodes in a binary treeCoding
  • Longest subarray with zero sumCoding
  • Maximize stock profitCoding
  • Right view of a Binary Search TreeCoding
โ† Amagi questions
  1. Interview questions
  2. Amagi
  3. Check if three points are collinear
Coding

Check if three points are collinear

Filed under Amagi

The question

Given three points on a 2D plane, determine if they lie on the same line.

No write-up yet. Related questions below have one.

Related Amagi questions

  • Matrix Element Sum Based on Indices Parity
  • Binary Tree Zig-Zag Traversal
  • Find Insertion Position in Sorted Array
  • Find Kth Maximum from Infinite Stream
  • K-th element in lexicographically sorted string
โ† Minimum cost to buy N pensSum of Fibonacci numbers at prime indices โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.