TCS Xplore Online Assessment (OA) Coding Questions & Solutions | Feb 2025 Placement
TCS · Question · Posted Mar 2026
Question 1: Zlatan and Tricks Problem Statement: Zlatan is a master of solving tricky questions. His friend gave him some numbers (in the form of an array) and asked him to find the number of subsequences of the array such that its sum is m-1. Here, m is the sum of the initial given array. Output the number of such subsequences and print it in one line. Example: array = [5, 4, 2, 1, 1] Output: 2 Valid ways are ...
The full answer & interview discussion are available to premium members.
Log in Create a free account