1.A trader buys and sells stocks on the same day. Each transaction consists of two values: The price at which the trader buys the stock. The price at which the trader sells the stock. The transactions are stored in an integer array such that: The even index (0, 2, 4, …) represents the buy price. The odd index (1, 3, 5, …) represents the sell price. Write a Java program that: 1. Calculates the total number of transactions the trader made. 2. Calculates the total profit, where profit = (sell price – buy price) for each transaction. Finally, print: Number of Transactions: followed by the count. Total Profit: followed by the profit. 2.Puzzle Statement Your friend comes to your home and asks about the ages of your 3 children.Your replied: i)The product of their ages is 72. ii)The sum of their ages is equal to your house number.Your friend still can’t figure out their ages. iii)You then say: “The oldest child likes strawberry ice cream.”
Software Engineer Trainee Interview Questions
6,021 software engineer trainee interview questions shared by candidates
First technical interview, they asked me to write palindrome number code and bubble sort. Other questions were basic ones - OOP concept, basic sql questions, etc. Second technical interview, they asked me about my projects HR interview was easy. They didn't ask much. Introduce yourself and asked me some personal questions like wheres my home, my parents, etc.
Leetcode questions in medium and hard level, Interview puzzles
coding and puzzles related questions were asked
Star Pattern Code OOP - Polymorphism
I only attended the aptitude round ,so they didnt ask any
They expect logical thinking and reasoning
Basic apti questions were asked
Written test followed by Interview
Questions on data structures, algorithms and on the projects that we have worked on etc
Viewing 2101 - 2110 interview questions