Sum of Two Chemicals Producing Maximum Product Energy
Filed under Tech Mahindra
The question
Given an array of integer energy values (which can be positive or negative) for chemicals, identify the pair of chemicals whose product yields the maximum possible energy, and return their sum.
No write-up yet. Related questions below have one.
Related Tech Mahindra questions
- Two basic coding problems: array maximum and word/space count
- Network Protocol: Decimal to Binary Conversion
- Aptitude and coding test with array second smallest element and anagrams
- Technical interview on OOP polymorphism, SQL joins, linked list cycles, and deadlocks
- Coding questions and pseudocode evaluation
Collected from public candidate posts and coding forums. Updated Nov 2026.