Technical Trainee
80+ Technical Trainee Interview Questions and Answers
You are given a number 'N'. Your task is to find Nth prime number.
A prime number is a number greater than 1 that is not a product of two smaller natural numbers. Prime numbers have only two facto...read more
You have been given an N*M matrix where there are 'N' rows and 'M' columns filled with '0s' and '1s'.
'1' means you can use the cell, and '0' means the cell is blocked. You can move ...read more
Technical Trainee Interview Questions and Answers for Freshers
Given an array 'ARR' of integers of size N in which two elements appear exactly once and all other elements appear exactly twice. Your task is to find the two elements that appear only...read more
A Derangement is a permutation of ‘N’ elements, such that no element appears in its original position. For example, an instance of derangement of {0, 1, 2, 3} is {2, 3, 1, 0}, because 2 prese...read more
You are given an array consisting of N non-negative integers, and an integer K denoting the length of a subarray, your task is to determine the maximum elements for each subar...read more
You have been given an integer array/list(ARR) of size 'N'. It only contains 0s, 1s and 2s. Write a solution to sort this array/list.
Note :
Try to solve the problem in 'Single Scan'. ' Single Scan' r...read more
Share interview questions and help millions of jobseekers 🌟
You are given a Singly Linked List which contains a series of integers separated by ‘0’.
Between two zeroes, you have to merge all the nodes lying between them into a single node which contain...read more
You are given an array of size ‘n’ which is an array representation of min-heap. You need to convert this min-heap array representation to a max-heap array representation.
For Exampl...read more
Technical Trainee Jobs
Given a singly linked list, you have to detect the loop and remove the loop from the linked list, if present. You have to make changes in the given linked list itself and return the update...read more
You have been given a singly linked list in which nodes are present in increasing order. Your task is to construct a Balanced Binary Search Tree with the same data elements as ...read more
You have been given a long type array/list 'ARR' of size 'N'. It represents an elevation map wherein 'ARR[i]' denotes the elevation of the 'ith' bar. Print the total amount of rainwater that c...read more
You have been given a number of stairs. Initially, you are at the 0th stair, and you need to reach the Nth stair. Each time you can either climb one step or two steps. You are...read more
You are given a Singly Linked List of integers. You need to reverse the Linked List by changing the links between nodes.
Input Format :
The first line of input contains a single integer T, re...read more
You are given a string S of words. Your task is to find the number of palindrome words in the given string S. A word is called palindrome, if it reads the same backwards as for...read more
Given a sequence of numbers ‘ARR’. Your task is to return a sorted sequence of ‘ARR’ in non-descending order with help of the merge sort algorithm.
Example :
Merge Sort Algorithm - Merge sort is a Div...read more
You are given a Doubly Linked List of integers and a positive integer 'K' representing the group size. Modify the linked list by reversing every group of 'K' nodes in the linked list...read more
Sanyam has ‘N’ candies, he wants to distribute that into ‘K’ of his friends. He made his ‘K’ friends stand in line, in increasing order of his likeness. Not being so smart he ...read more
You are given an array containing 'N' points in the plane. The task is to find out the distance of the closest points.
Note :
Where distance between two points (x1, y1) and (x2, y2) is calc...read more
The task is to find the distance of the closest points among an array of N points in the plane.
Calculate the distance between each pair of points using the given formula
Keep track of the minimum distance found so far
Return the minimum distance
Take two numbers as input and swap them and print the swapped values.
Input Format:
The first line of input contains a single integer 't', representing the total number of test cases. The second...read more
You have been given a binary tree of 'N' nodes. Print the Spiral Order traversal of this binary tree.
For example
For the given binary tree [1, 2, 3, -1, -1, 4, 5, -1, -1,...read more
You are given two strings STR1 and STR2. You need to check whether STR2 can be formed from the characters of STR1. Both the strings can ...read more
You are given ‘n’ carrots numbered from 1 to ‘n’. There are k rabbits. Rabbits can jump to carrots only with the multiples of Aj(Aj,2Aj,3Aj…) for all rabbits from 1 to k.
Whenever Rabbit reaches a c...read more
Reverse a given stack of integers using recursion.
Note:
You are not allowed to use any extra space other than the internal stack space used due to recursion. You are not allowed to...read more
You are given an array of integers 'ARR' of length 'N' and an integer Target. Your task is to return all pairs of elements such that they add up to Target.
Note:
We cannot use the element at a given inde...read more
You are given an integer array with N elements. Your task is to build a max binary heap from the array.
A max-heap is a complete binary tree in which the value of each internal node is greater than or...read more
You are given a string S of words. Your task is to count the occurrence of each word present in the string S. A word is a sequence of one or more non-space characters, and there can be mu...read more
Ninja has been given a program to do basic string compression. For a character that is consecutively repeated more than once, he needs to replace the consecutive duplicate occurrences with th...read more
You have been given a long type array/list 'ARR' of size 'N'. It represents an elevation map wherein 'ARR[i]' denotes the elevation of the 'ith' bar. Print the total amount of rainwater that ...read more
You have been given a Snake and Ladder Board with 'N' rows and 'N' columns with the numbers written from 1 to (N*N) starting from the bottom left of the board, and alternating direction each row...read more
Given a string, determine if it is a palindrome, considering only alphanumeric characters.
Palindrome
A palindrome is a word, number, phrase, or other sequences of characters which read the sam...read more
G = (V,E) is an undirected simple graph in which each edge has a distinct weight, and e is a particular edge of G. Which of the following statements about the minimum span...read more
You are given a binary tree having 'N' nodes. Each node of the tree has an integer value. Your task is to find the maximum possible sum of a simple path between any two nodes (...read more
You are given a positive integer ‘N’. You are required to print the perfect square number closest to the ‘N’ and the number of steps required to reach that number.
For Example:
N ...read more
Q34. Number of Steps required to reach top of stairs of length n where person can make either 1 or 2 steps at a time.
The number of steps required to reach the top of a staircase of length n can be calculated using dynamic programming.
Use dynamic programming to solve the problem
Create an array to store the number of steps required for each position
Initialize the first two positions with 1 and 2
Iterate through the remaining positions and calculate the number of steps based on the previous two positions
Return the number of steps required for the last position
What is deadlock and what are the conditions of the deadlock?
What is semaphore and how you implement semaphore?
Q36. What is the difference between WFH(Work from Home) and WFO(Work from Office)?
WFH allows employees to work remotely from their homes, while WFO requires employees to work from a physical office location.
WFH provides flexibility in work location and schedule, while WFO requires employees to be present in the office during specified hours.
WFH may lead to increased productivity and work-life balance for some employees, while WFO allows for better collaboration and communication among team members.
Examples: WFH - working from home on a laptop; WFO - workin...read more
Can you handle pressure?
Rate yourself in different technologies.
Greenfield Project
Hydraulics and Pneumatics
Type of terminals
Upon IC Engines
Q39. Which technology were used? Pick any topic and describe?
The technology used was artificial intelligence in healthcare.
AI algorithms for medical image analysis
Machine learning for predicting patient outcomes
Natural language processing for analyzing medical records
Q40. What is diod , zener diod , clamp meter, transistor, how to check these ,resistor colour code
Explanation of diode, zener diode, clamp meter, transistor, and resistor color code.
A diode is an electronic component that allows current to flow in only one direction.
A zener diode is a type of diode that allows current to flow in reverse direction when a certain voltage is reached.
A clamp meter is a tool used to measure electrical current without disconnecting the circuit.
A transistor is a semiconductor device used to amplify or switch electronic signals.
Resistor color cod...read more
Q41. How would you take feedbacks and structure a lecture plan accordingly?
I would actively listen to feedback, analyze it, and make necessary adjustments to the lecture plan.
Actively listen to feedback from students, colleagues, and supervisors.
Analyze the feedback to identify common themes or areas for improvement.
Make necessary adjustments to the lecture plan based on the feedback received.
Seek clarification or additional feedback if needed to ensure understanding.
Implement changes in a timely manner to improve the effectiveness of the lecture.
Q42. Colour coding of transistor and what is soldering how it works.
Transistor colour coding helps identify the type and polarity of the transistor. Soldering is a process of joining two metal surfaces using a filler metal.
Transistor colour coding typically involves using colored bands to indicate the type and polarity of the transistor. For example, a common NPN transistor might have a black body with a white band to indicate the base, a red band for the collector, and a green band for the emitter.
Soldering is the process of joining two meta...read more
Q43. Type of mixes done in field? Types of cement manufactured? Volumetric mix design ratios?
Different types of mixes in the field include concrete, mortar, and grout. Types of cement manufactured include Portland cement, white cement, and blended cement. Volumetric mix design ratios vary depending on the specific application.
Types of mixes in the field: concrete, mortar, grout
Types of cement manufactured: Portland cement, white cement, blended cement
Volumetric mix design ratios depend on the specific application
Q44. How to protect the network and data?
Protecting network and data involves implementing security measures to prevent unauthorized access and data breaches.
Implement strong passwords and two-factor authentication
Use firewalls and antivirus software
Regularly update software and security patches
Encrypt sensitive data
Train employees on safe browsing and email practices
Limit access to sensitive data on a need-to-know basis
Regularly backup data
Q45. What os parenteral and enlist few parenteral routes of administration.
Parenteral refers to the administration of drugs or fluids through routes other than the digestive tract.
Parenteral administration bypasses the gastrointestinal tract.
Common parenteral routes include intravenous (IV), intramuscular (IM), and subcutaneous (SC) injections.
Other parenteral routes include intradermal (ID), intrathecal, and intra-articular injections.
Parenteral administration can also be achieved through intravenous infusion or intravenous bolus.
Parenteral routes ...read more
Q46. Print left most node of each level by doing BFs
Print the leftmost node of each level using BFS.
Implement BFS algorithm to traverse the tree level by level.
Keep track of the leftmost node of each level.
Print the leftmost node of each level after traversal is complete.
Q47. What is cnc machine ,gcode and mcode difference
CNC machine is a computer-controlled machine tool used for cutting and shaping materials. G-code is a programming language used to control CNC machines. M-code is used to activate specific machine functions.
CNC machine is a computer-controlled machine tool used for cutting and shaping materials.
G-code is a programming language used to control CNC machines by providing instructions for movement, speed, and other parameters.
M-code is used to activate specific machine functions ...read more
Q48. What is dns how it will use?
DNS stands for Domain Name System. It is a decentralized system that translates domain names into IP addresses.
DNS is used to resolve domain names to their corresponding IP addresses.
It helps in the efficient routing of internet traffic.
DNS also provides other services like email routing and load balancing.
Example: When you type a website URL in your browser, DNS translates it to the IP address of the server hosting that website.
Q49. Find all the pairs present in an array
The question asks to find all the pairs present in an array of strings.
Iterate through the array and compare each element with all other elements to find pairs.
Store the pairs in a separate array or data structure.
Consider the order of elements in pairs, i.e., (A, B) is different from (B, A).
Q50. Implement linked list
A linked list is a data structure where each element points to the next one.
Create a Node class with a value and a next pointer
Create a LinkedList class with a head pointer and methods to add, remove, and traverse nodes
Example: LinkedList ll = new LinkedList(); ll.add(5); ll.add(10); ll.remove(5);
Interview Questions of Similar Designations
Top Interview Questions for Technical Trainee Related Skills
Interview experiences of popular companies
Calculate your in-hand salary
Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Reviews
Interviews
Salaries
Users/Month