i
Xebia
Filter interviews by
The task is to count the occurrences of each character in a given string.
Iterate through the string and use a HashMap to store the count of each character.
Convert the string to char array for easier manipulation.
Handle both uppercase and lowercase characters separately if needed.
Top trending discussions
I applied via Recruitment Consultant and was interviewed in Oct 2021. There was 1 interview round.
I applied via LinkedIn and was interviewed in Oct 2024. There were 2 interview rounds.
posted on 9 Jan 2025
I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.
Regression testing is testing the entire application after changes, while retesting is testing specific areas affected by changes.
Regression testing involves testing the entire application to ensure that new changes have not affected existing functionality
Retesting focuses on testing specific areas that were affected by recent changes to ensure they are working as expected
Regression testing is usually automated to save...
Hooks in Cucumber are blocks of code that run before or after each scenario in a feature file.
Hooks are used to set up preconditions and clean up after tests
They can be used to initialize test data, open/close browser, log in/out, etc.
Hooks can be defined at the global level or at the scenario level
I have used OOPs concepts in my projects to create reusable code, improve code organization, and enhance code readability.
Used inheritance to create a base class with common functionalities and derived classes with specific functionalities
Implemented encapsulation to hide internal details of a class and expose only necessary information through methods
Utilized polymorphism to allow objects of different classes to be tr...
To avoid merge conflicts in git, use branches effectively, communicate with team members, and regularly pull changes from the remote repository.
Create feature branches for each new feature or bug fix
Regularly pull changes from the remote repository to stay up to date with the latest changes
Communicate with team members about the files you are working on to avoid conflicting changes
Use tools like git rebase to integrate...
Web tables can be accessed using various methods like XPath, CSS selectors, and Selenium WebDriver commands.
Use XPath to locate the table element on the web page
Identify rows and columns within the table using XPath or CSS selectors
Use Selenium WebDriver commands to interact with the table data, such as getting text from cells or clicking on links within the table
Stale Element Exception occurs when an element is no longer attached to the DOM.
Occurs when an element is located in the DOM, but it has been removed or modified
Commonly encountered in automated testing when trying to interact with elements that have changed
Can be resolved by re-locating the element or refreshing the page
Use Arrays.asList() method to convert array to ArrayList.
Use Arrays.asList() method to convert array to ArrayList.
Example: String[] array = {"apple", "banana", "orange"}; ArrayList
posted on 18 Aug 2024
I applied via Approached by Company and was interviewed in Jul 2024. There was 1 interview round.
Print alternate characters from a given string
Iterate through the characters of the string
Print characters at even indices
posted on 9 Oct 2024
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
Java Coding Test dsa program and all that
posted on 28 May 2024
posted on 7 Jan 2024
I applied via Naukri.com and was interviewed in Dec 2023. There were 2 interview rounds.
Was all good with online test
posted on 11 Jul 2024
I applied via Recruitment Consulltant and was interviewed before Jul 2023. There was 1 interview round.
Senior Consultant
633
salaries
| ₹10.3 L/yr - ₹38 L/yr |
Lead Consultant
440
salaries
| ₹12 L/yr - ₹42 L/yr |
Consultant
388
salaries
| ₹5.9 L/yr - ₹20 L/yr |
Principal Consultant
160
salaries
| ₹20 L/yr - ₹48.3 L/yr |
Senior Software Engineer
131
salaries
| ₹9 L/yr - ₹32 L/yr |
TCS
Infosys
Wipro
HCLTech