HiLabs OA | IIT Roorkee | 29 - 10 - 2023 | DS Role | Substring Count | Telephonic Connection

Hilabs · Question · Posted Oct 2023

Pattern - 20 MCQs + 2 Coding Questions  20 MCQs were divided into 3 Sections - 2 Marks(7) + 4 Marks(6) + 6 Marks(7) Question 1 - You are given a string S of length N consisting of lowercase English alphabets and an integer K. It would be best if you partitioned the string until it is empty in the following way, 1. Select a maximum length substring from the beginning of the string S, such that it has at ...

The full answer & interview discussion are available to premium members.

Log in Create a free account