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 44 Minutes 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 agoEric throws two dice, and his score is the sum of the values shown. Sandra throws one die, and her Read More..
J E Tejeswar Gowd 5 years agoIf A ^B means A raised to the power of B, in which of the following choices must P be greater than Q Read More..
Niranjan 5 years agoHow many liters of 20% alcohol should be mixed with 60 % alcohol to get 32% alcohol (1) We get 70 l Read More..
santosh 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..