Summer Intern Analyst
Summer Intern Analyst Interview Questions and Answers
Q1. write a code to swap two numbers by using only 2 variables
Swap two numbers using only 2 variables
Use XOR operation to swap two numbers without using a third variable
Example: a = 5, b = 10; a = a ^ b; b = a ^ b; a = a ^ b; // a = 10, b = 5
Q2. How to delete a node in a lonked list
To delete a node in a linked list, we need to adjust the pointers of the previous and next nodes.
Find the node to be deleted by traversing the linked list
Adjust the pointers of the previous and next nodes to skip the node to be deleted
Free the memory occupied by the node to be deleted
Summer Intern Analyst Interview Questions and Answers for Freshers
Q3. Leetcode design system with EC2 instance Fleet
Design a system using EC2 instance Fleet on Leetcode platform
Utilize EC2 instance Fleet to manage a group of EC2 instances for scalability and cost-efficiency
Implement load balancing to distribute incoming traffic across multiple EC2 instances
Use auto-scaling to automatically adjust the number of EC2 instances based on traffic demand
Monitor system performance and health using CloudWatch metrics and alarms
Q4. write a code for quick sort
Quick sort is a popular sorting algorithm that uses divide and conquer strategy.
Divide the array into two sub-arrays based on a pivot element
Recursively sort the sub-arrays
Combine the sorted sub-arrays
Q5. Analyse and selection of stocks
Analyzing and selecting stocks involves researching financial data, market trends, and company performance to make informed investment decisions.
Research financial statements and ratios to assess company performance
Analyze market trends and economic indicators to identify potential investment opportunities
Consider the company's industry, competitive position, and growth prospects
Diversify your portfolio to manage risk and maximize returns
Monitor your investments regularly and...read more
Q6. Explain recursion
Recursion is a programming technique where a function calls itself in order to solve a problem.
Recursion involves breaking down a problem into smaller subproblems and solving them recursively.
A base case is needed to stop the recursion and prevent infinite loops.
Examples of recursive functions include factorial calculation and Fibonacci sequence generation.
Share interview questions and help millions of jobseekers 🌟
Summer Intern Analyst Jobs
0Interview Questions of Similar Designations
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