JobsJob TrackerJob alerts

Larson & Toubro Infotech · 9 questions

All 9Coding 6Low-Level Design 1Behavioral 2
  • Sort First K Elements Ascending and Rest DescendingCoding
  • Maximum Product SubarrayCoding
  • Implement Various Swapping MethodsCoding
  • Polymorphism, Inheritance and Virtual FunctionsCoding
  • ServiceNow Platform and Cloud ComputingLow-Level Design
  • Working Under Strict DeadlinesBehavioral
  • Handling Rude Managers or FacultyBehavioral
  • Most Distinct Characters Between Two Occurrences of Character CCoding
  • Fish Influence QueriesCoding
← Larson & Toubro Infotech questions
  1. Interview questions
  2. Larson & Toubro Infotech
  3. Fish Influence Queries
Coding

Fish Influence Queries

Filed under Larson & Toubro Infotech

The question

Given fishes from two ponds A and B where pond A fishes attack pond B or other pond A fishes based on value, process a query array of attacks and print the fish that has the most number of fishes under its influence along with the count.

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

Related Larson & Toubro Infotech questions

  • Sort First K Elements Ascending and Rest Descending
  • Implement Various Swapping Methods
  • Polymorphism, Inheritance and Virtual Functions
  • Most Distinct Characters Between Two Occurrences of Character C
← Most Distinct Characters Between Two Occurrences of Character C

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