Paxcom India
20+ Multi Wing Interview Questions and Answers
You are given an integer ‘K’, and two numbers ‘A’ and ‘B’. You need to count the occurrences of the given digit ‘K’, in the range [A, B].
Note:
You need to count occurrences at every place ...read more
Given an arithmetic expression ‘EXP’ containing integer values separated by any of the three operators ‘ + ’, ‘ - ’ and ‘ * ’. You need to place parentheses in the given expression such that...read more
Ninja loves playing with numbers. One day Alice gives him some numbers and asks him to find the Kth largest value among them.
Input Format:
The first line of input contains an integer ‘T,’ de...read more
You are given an array/list ‘BINARYNUMS’ that consists of ‘N’ distinct strings which represent all integers from 0 to N in binary representation except one integer. This integer between 0 to ‘N’ w...read more
You have been given a connected undirected weighted graph. Your task is to find the weight of the minimum spanning tree of the given graph.
A minimum spanning tree is a ...read more
You are given an array of unique integers where each element in the array is in the range [1, N]. The array has all distinct elements, and the array’s size is (N - 2). Hence, two numbers...read more
You have been given a non-empty grid consisting of only 0s and 1s. You have to find the maximum area of an island in the given grid.
An island is a group of 1s (representing land) connected horizo...read more
You have been given a binary tree of integers. You are supposed to find the left view of the binary tree. The left view of a binary tree is the set of all nodes that are visible when t...read more
You are given a string 'STR'. The string contains [a-z] [A-Z] [0-9] [special characters]. You have to find the reverse of the string.
For example:
If the given string is: STR = "abcde". You h...read more
You have a robot currently standing at the origin (0, 0) of a two-dimensional grid and facing north direction. You are given a sequence of moves for the robot in the form of a string of size 'N'. Y...read more
You are given a string 'S' of length 'N', you need to find the frequency of each of the characters from ‘a’ to ‘z’ in the given string.
Example :
Given 'S' : abcdg Then output will be : 1 1 1 1 0...read more
For a given binary tree, convert it to its sum tree. That is, replace every node data with sum of its immediate children, keeping leaf nodes 0. Finally, return its preorder.
For example:
The input for t...read more
If you won a Rs.10-crore lottery, would you still work?
Give me an example of your creativity.
What makes you happy?
Print the following pattern
Pattern for N = 4
1 23 345 4567
Input Format :
N (Total no. of rows)
Output Format :
Pattern in N lines
Q15. Difference between priority and severity Example of high priority low severity Example of low priority high severity Different apis that you have tested Difference between get, post, put
Priority is the importance of fixing a bug, severity is the impact of the bug on the system.
High priority, low severity: Spelling mistake in a button label
Low priority, high severity: Critical security vulnerability
APIs tested: RESTful, SOAP, GraphQL
GET: Retrieve data, POST: Create data, PUT: Update data
Q16. Difference between rest and soap api Calling method @Test Difference between before and before method What are annotations What is testng what does it do
REST and SOAP APIs are two different types of web service protocols. @Before and @BeforeMethod are annotations used in TestNG for setup tasks.
REST API is lightweight and uses standard HTTP methods like GET, POST, PUT, DELETE. SOAP API is more rigid and uses XML for communication.
@Before annotation is used in TestNG to run setup tasks before each test method. @BeforeMethod is used to run setup tasks before each test method in a test class.
Annotations in Java are markers that p...read more
Q17. What is an Enum? implementation of an Enum
An Enum is a data type that consists of a set of named values.
Enums are used to define a set of constants that can be used throughout the code.
Each value in an Enum is assigned an integer value by default, starting from 0.
Enums can also be assigned specific integer values or even string values.
Enums can be used in switch statements to handle different cases.
Example: enum Color { RED, GREEN, BLUE };
Example: enum Status { SUCCESS = 200, ERROR = 400 };
Q18. Find the odd occuring number from array of numbers including even occuring (frequency) numbers.
Find the odd occurring number from an array of numbers, including even occurring numbers.
Iterate through the array and count the frequency of each number using a hash map.
Iterate through the hash map and return the number with an odd frequency.
If no number has an odd frequency, return 'No odd occurring number found.'
Q19. Follow-up to Q3: Find two odd occuring numbers (Eff. Sol: Double Xor method)
The double XOR method is used to find two odd occurring numbers in an array.
Iterate through the array and perform XOR operation on all elements
The result will be the XOR of the two odd occurring numbers
Find the rightmost set bit in the result
Divide the array into two groups based on whether the corresponding bit is set or not
Perform XOR on each group separately to find the two odd occurring numbers
Q20. Most efficient way to reverse a String of characters
The most efficient way to reverse a String of characters is to use StringBuilder's reverse() method.
Create a StringBuilder object with the given String as parameter
Call the reverse() method on the StringBuilder object
Convert the StringBuilder object back to a String using toString() method
Q21. What should be considered for app performance
App performance should consider factors like code optimization, network efficiency, memory management, and user experience.
Optimizing code for efficiency and speed
Minimizing network requests and optimizing data transfer
Efficient memory management to prevent crashes and slowdowns
Prioritizing user experience for smooth navigation and responsiveness
Q22. What is considered in code review
Code review involves checking for code quality, functionality, security, and adherence to coding standards.
Checking for code quality and readability
Ensuring the code functions as intended
Identifying and fixing security vulnerabilities
Verifying adherence to coding standards and best practices
Providing constructive feedback to the developer
Q23. Java 8 Features?
Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.
Lambda expressions allow you to pass functionality as an argument to a method.
Functional interfaces have a single abstract method and can be used with lambda expressions.
Streams provide a way to process collections of objects in a functional style.
Default methods allow interfaces to have method implementations.
Example: (1) Lambda expression - (a, b) -> a + ...read more
Top HR Questions asked in Multi Wing
Interview Process at Multi Wing
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month