Siemens
Yotta Infrastructure Solutions Interview Questions and Answers
Q1. Change the odd bits in the binary form of a given number and convert the new binary into decimal form
To change the odd bits in a binary number, flip the bits at odd positions and convert the new binary number to decimal form.
Start by converting the given number into binary form.
Identify the odd bits in the binary number (counting from right to left, starting at 1).
Flip the odd bits by changing 1s to 0s and 0s to 1s.
Convert the new binary number into decimal form.
For example, if the given number is 13 (binary 1101), the odd bits are at positions 1 and 3. Flipping them gives 1...read more
Q2. Find out the second largest integer in an array
Find the second largest integer in an array of strings
Convert the strings in the array to integers
Sort the integers in descending order
Return the second element in the sorted array as the second largest integer
Q3. Level order traversal of binary tree
Level order traversal of binary tree visits nodes level by level, from left to right.
Use a queue to keep track of nodes at each level
Start by pushing the root node into the queue
While the queue is not empty, dequeue a node, visit it, and enqueue its children
Q4. What are your Strenghts
My strengths include strong communication skills, ability to work well in a team, and problem-solving abilities.
Strong communication skills - able to effectively convey ideas and information
Ability to work well in a team - collaborate with others to achieve common goals
Problem-solving abilities - able to analyze situations and come up with effective solutions
Q5. Primary vs secondary memory
Primary memory is volatile and directly accessible by the CPU, while secondary memory is non-volatile and used for long-term storage.
Primary memory is faster but has limited capacity, while secondary memory is slower but has larger capacity.
Examples of primary memory include RAM and cache memory, while examples of secondary memory include hard drives and SSDs.
Primary memory stores data that is currently being used by the CPU, while secondary memory stores data that is not cur...read more
Q6. Reverse a string
Reverse a string by iterating through the characters and swapping them
Create a function that takes a string as input
Initialize two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move them towards the center until they meet
Interview Process at Yotta Infrastructure Solutions
Top Graduate Trainee Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month