Explore
Placement Prep

Edit

Edit

Data Arrangements

Given an array containing only 0s and 1s, find the largest subarray which contain equal no of 0s and 1s. Examples: Input: arr[] = {1, 0, 1, 1, 1, 0, 0} Output: 1 to 6 (Starting and Ending indexes of output subarray) Input: arr[] = {1, 1, 1, 1} Output: No such array Input: arr[] = {0, 0, 1, 1, 0} Output: 0 to 3 Or 1 to 4 Input Format Input contains the no of elements & array values Constraints 1 d array_size d 10000 Output Format Print the index i1->in if exist else print No such array . If more than 1 found print all Sample Input 0 7 1 0 1 1 1 0 0 Sample Output 0 1->6

cts off compass drive ???

can anyone send me TCS ninja materials .. here is my mail id madhanselvamani1998@gmail.com

1 Thanks 1 Comment
Sourav Paul 6 months ago
https://www.instamojo.com/enrique17/?ref=profile_bar
check here.All materials available

I want material related to reasoning aptitude

1 Thanks 1 Comment
Ankit Singh 7 months ago
asinghakvk@gmail.com

moon looks beautiful

2 Thanks

Help me to solve this

1. A sister 73%
2. B mother 27%
Skip
4 Thanks 220 Attempts 7 Comments
sister

Is there anyone who have got mail from CTC for written test ?

Me iam 1 year ago
Share tricks ,pattern,and cutoff about the test

anyone send me pinnacle campus drive written exam questions

1 Thanks

Read the following instructions carefully and answer the questions given below it: From a group of six boys M,N,O,P,Q,R and five girls G,H,I,J,K a team of six is to be selected .Some of the criteria of selection are as follows: M and J go together O cannot be placed with N I cannot go with J N goes with H P and Q have to be together K and R go together

1 Comment
deepak mikkilineni 1 year ago
M,J,O,I,N,H,P,Q,K,R
HENCE M and J go together
O is with J is posssible
J is with N is posssible
N goes with H
P and Q have together
k and R together