Enovate IT Outsourcing
Codewalla Interview Questions and Answers
Q1. Create a react table with a button and when clicked, route to another page, trigger an API, and display the data in tabular format using react.js .
Create a react table with a button to route to another page, trigger an API, and display data in tabular format.
Create a React component for the table
Add a button to the table rows
Implement routing using React Router
Handle button click event to navigate to another page
On the new page, trigger an API call using Axios or Fetch
Retrieve the data from the API response
Display the data in tabular format using HTML table or a UI library like Material-UI
Q2. 2.Program writing using class function and with some condition
Write a program using class function and condition
Create a class with relevant functions
Use conditional statements to execute specific code
Example: class Calculator with add() function and if-else statement to check input
Example: class Student with calculateGrade() function and switch statement to assign grade
Q3. SQL query top 5 highest salary
Use SQL query to retrieve the top 5 highest salaries from a table.
Use the SELECT statement to retrieve the salary column
Use the ORDER BY clause to sort the salaries in descending order
Use the LIMIT clause to limit the results to the top 5 salaries
Q4. Check if 2 strings are anagrams.
Check if 2 strings are anagrams.
Convert both strings to lowercase
Remove all non-alphabetic characters
Sort the characters in both strings
Compare the sorted strings, if they are equal, they are anagrams
Q5. Reverse the string
Reverse a given string
Use StringBuilder's reverse() method
Convert the string to a StringBuilder, reverse it, then convert it back to a string
Q6. Swap two number
Swapping two numbers without using a temporary variable
Use XOR operation to swap two numbers without using a temporary variable
Example: a = 5, b = 10. After swapping, a = 10, b = 5
Top HR Questions asked in Codewalla
Interview Process at Codewalla
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month