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 agoIn a kilometer race, A beats B by 20meters. In 11 km race ,Abeats B by??? 1. 100m 2.220 m 3.200 m Read More..
prajjwal 5 years agoA and B are two brothers, C is the son of A , D is wife of B. what should be the relations between Read More..
chandan kumar mania 5 years agoIn a class consisting of 75 students 25 didn’t know typing,45 knew short hand and 10 knew neither Read More..
AMARVAJ SPANDANA 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..