JobsJob TrackerJob alerts

Vyapar · 11 questions

All 11Coding 7Low-Level Design 1
  • Maximum value of an expression over an array (two-pointer)Coding
  • Repeatedly combine two elements with a bit operationCoding
  • Sort an array of 0s, 1s and 2sCoding
  • Sum of two linked listsCoding
  • Design tables for a many-to-many mappingLow-Level Design
  • Polymorphism, abstraction and the four pillars of OOP
  • Struct vs union vs class; malloc vs calloc vs new
  • DBMS: normalization, joins and ACID
  • Online Coding Assessment on HackerEarthCoding
  • Technical Interview 1: DSA and Database DesignCoding
  • Technical Interview 2: BFS, Matrix, and CS FundamentalsCoding
← Vyapar questions
  1. Interview questions
  2. Vyapar
  3. Maximum value of an expression over an array (two-pointer)
CodingMedium-HardReported in a candidate post, Jan 2023

Maximum value of an expression over an array (two-pointer)

Filed under Vyapar

The question

Find the maximum value of a given expression over pairs of array elements. The post says it was solved with a two-pointer approach similar to the trapping-rain-water problem.

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

Related Vyapar questions

  • Repeatedly combine two elements with a bit operation
  • Online Coding Assessment on HackerEarth
  • Technical Interview 1: DSA and Database Design
  • Technical Interview 2: BFS, Matrix, and CS Fundamentals
Repeatedly combine two elements with a bit operation →

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