i
MSG Global Solutions
Filter interviews by
I applied via Naukri.com
Program to return random number from array and count repetitive words.
Use Math.random() method to generate random index for array.
Use HashMap to count the frequency of each word in the array.
Iterate through the array and check if the word is already in the HashMap, if yes then increment its count.
To return random number from array, use the generated random index to access the element from array.
Top trending discussions
I applied via Walk-in and was interviewed before Feb 2023. There was 1 interview round.
posted on 19 Sep 2024
I applied via Job Portal
60mintues DSA level coding exam
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
based on 2 reviews
Rating in categories
Consultant
67
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Consultant
67
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
49
salaries
| ₹0 L/yr - ₹0 L/yr |
Principal Consultant
27
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
11
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Wipro
Infosys
HCLTech