InfoEdge, Recently Asked Online Assessments in 3 Nov, 2025 | Factor Lower Bound & Pretty Array
Question · Posted Apr 2026
1. Factor lower bound Problem Statement You are given a positive integer N and an array nums of distinct integers. Your task is to find the sum of lower bounds of factors of the integer N in the array nums. Lower bound is defined as the greatest element of nums that is strictly smaller than the given factor. For example, for the factor 3 and nums array {1,2,3,4}, 2 is the lower bound because 2 is the greatest element strictly ...
The full answer & interview discussion are available to premium members.
Log in Create a free account