EXAMPLE:
Input=['1','0','1','2','3','0','3','4','0']
Output:
['1', '1', '2', '3', '3', '4', '0', '0', '0']
// Function to move all zeros present in the array to the end
void reorder(int A[], int n)
There is a ring road connecting points A, B, C and D. The road is in a complete circular form but having several approach roads leading to the centre. Exactly in the centre of the ring road there is a
Asked In: face 1 Hour ago
Certain 3-digit numbers have the following characteristics:
1. All the three digits are different.
2. The number is divisible by 7.
3. The number on reversing the digits is also divisible by 7.
How ma
In a certain code, PEAK is written as ‘3512’ and DINE is written as ‘6895’. How is KIND written in that code?
Option
(a) 2986
(b) 2396
(c) 2896
(d) 2596
Salil hits 6 balls out of 10 bowled to him in a game of cricket.what is the probability of salil hitting the next ball bowled to him.
2/5
3/4
4/5
1/5
Privatisation followed by strict corporate governa
Privatization will lead to less corruption? 3 Months agoWho know? Math is suckk!!
Demonetisation of Rs.500 and Rs.1000. Is an effective steps to bring back black money ? 4 Months agoin todays world it is pf utmost importance to awar
Net Neutrality: Advantages and Disadvantages? 8 Months agoLength, Breadth and Height of a 3D figure is in the ratio 3:2:1. If the length is doubled and Breadt Read More..
priyanka 5 years agoWhat is the number of ways of expressing 3600 as a product of three ordered positive integers (abc, Read More..
Deepak Kolte 5 years agoFind the sum of prime numbers from 1 to 100 which when divided by 4 and 5 leaves the remainder 1 and Read More..
rekha 5 years agoHello,
I am a Electronics & Communication Engineering student of 2019 batch and I attended the Cognizant recruitment drive (Off-campus) interview round on 15th June 2019. From our year there had been Read More..
As you all know, Infosys written test is the toughest of all MNC's. So, i started preparing for it about 8 days prior. Luckily i got cleared the written test(this is Off campus). They called me f Read More..
Infosys Interview Experience 2 years agoThis company has a two round
1.Group Discussion
this one seems like a fish market and the person that sits has no interest in what you speak you just have to make yourself audible and make everyone Read More..
Hi All,
It's over one year when I joined TCS.
So, I will tell you some key points that you take care for any interview(specially for freshers.) because I have known from inside that how the TR/MR/HR i Read More..