JobsJob TrackerJob alerts

Wize Commerce ยท 11 questions

All 11Coding 10
  • Chessboard queen probability puzzle
  • Design O(1) insert, delete, and get randomCoding
  • Sum two linked lists without modifying inputs or extra spaceCoding
  • Efficient prime number checkCoding
  • Reverse singly linked list using 2 pointersCoding
  • Find prime numbers satisfying equationCoding
  • Efficient left circular shift on stringCoding
  • Largest distance between two nodes in a treeCoding
  • Lowest Common Ancestor in a treeCoding
  • Largest common subset between two arraysCoding
  • Minimum swaps to make two strings equalCoding
โ† Wize Commerce questions
  1. Interview questions
  2. Wize Commerce
  3. Find prime numbers satisfying equation
Coding

Find prime numbers satisfying equation

Filed under Wize Commerce

The question

Given the equation a(a+b)=c+120, where a!=b!=c and a, b, and c are all prime numbers, find the values of a, b, and c within 2 minutes.

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

Related Wize Commerce questions

  • Design O(1) insert, delete, and get random
  • Sum two linked lists without modifying inputs or extra space
  • Efficient prime number check
  • Reverse singly linked list using 2 pointers
  • Efficient left circular shift on string
โ† Reverse singly linked list using 2 pointersEfficient left circular shift on string โ†’

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