i
Pepcoding
Filter interviews by
I applied via Referral and was interviewed before Oct 2022. There were 2 interview rounds.
To invert a binary tree, swap the left and right children of each node recursively.
Start from the root node
Swap the left and right children of the current node
Recursively invert the left subtree
Recursively invert the right subtree
Repeat until all nodes are inverted
Finding the middle element of a LinkedList
Traverse the LinkedList using two pointers, one moving one step at a time and the other moving two steps at a time
When the faster pointer reaches the end of the list, the slower pointer will be at the middle element
If the LinkedList has an even number of elements, there are two middle elements
To reverse an array, use a loop to swap the first and last elements until the middle is reached. To find elements in an array, use a loop to compare each element to the desired value.
To reverse an array, initialize two pointers at the beginning and end of the array. Swap the elements at the pointers and move the pointers towards the middle until they meet.
To find elements in an array, use a loop to iterate through each...
I applied via Company Website and was interviewed before Sep 2021. There was 1 interview round.
Finding the longest increasing sequence using recursion.
Define a recursive function that takes an array and the current index as parameters.
If the current index is the last index of the array, return 1.
If the current element is greater than the next element, return 1.
If the current element is less than or equal to the next element, recursively call the function with the next index and add 1 to the result.
Compare the re...
The longest increasing sum is the maximum sum of a subsequence of consecutive increasing numbers in an array.
Iterate through the array and keep track of the current sum and the maximum sum seen so far.
If the current element is greater than the previous element, add it to the current sum.
If the current sum is greater than the maximum sum, update the maximum sum.
Return the maximum sum.
Example: For the array [1, 2, 3, 2, ...
Top trending discussions
I appeared for an interview before May 2024, where I was asked the following questions.
posted on 21 Jan 2022
I am a highly motivated and experienced professional with a strong background in management and leadership.
Over 5 years of experience in management roles
Proven track record of successfully leading teams and achieving targets
Strong communication and interpersonal skills
Excellent problem-solving and decision-making abilities
Ability to adapt to changing environments and handle multiple tasks
Example: As a Manager at XYZ Co...
I applied via Company Website and was interviewed in Oct 2022. There were 3 interview rounds.
Mostly quantitative and qualitative reasoning questions
Graph,trees,arrays and strings
I appeared for an interview before May 2024, where I was asked the following questions.
In five years, I envision myself as a senior data analyst, leading projects and mentoring junior analysts while driving data-driven decisions.
I aim to deepen my expertise in data visualization tools like Tableau and Power BI to create impactful dashboards.
I plan to enhance my statistical analysis skills, possibly pursuing a certification in advanced analytics.
I see myself taking on leadership roles, guiding teams in da...
I appeared for an interview before May 2024, where I was asked the following questions.
My passion for data-driven decision-making and problem-solving led me to pursue a career as a Data Analyst.
I have always been fascinated by numbers and how they can tell a story, like analyzing sales data to identify trends.
During my college years, I worked on a project that involved cleaning and analyzing a large dataset, which sparked my interest in data analysis.
I enjoy using tools like Excel and SQL to manipulate d...
You can remove duplicates in Excel using the 'Remove Duplicates' feature in the Data tab.
Select the range of cells or the entire table where you want to remove duplicates.
Go to the 'Data' tab on the Ribbon.
Click on 'Remove Duplicates'.
In the dialog box, choose the columns to check for duplicates.
Click 'OK' to remove duplicates; Excel will inform you how many duplicates were removed.
I appeared for an interview in Apr 2025, where I was asked the following questions.
based on 2 interview experiences
Difficulty level
Duration
based on 66 reviews
Rating in categories
Product Engineer
12
salaries
| ₹5 L/yr - ₹9 L/yr |
Teaching Assistant
11
salaries
| ₹1.3 L/yr - ₹4.6 L/yr |
Software Developer
10
salaries
| ₹2.1 L/yr - ₹6 L/yr |
Front end Developer
8
salaries
| ₹2 L/yr - ₹6.5 L/yr |
Business Development Executive
8
salaries
| ₹2.2 L/yr - ₹4.3 L/yr |
Asia-Pacific Institute of Management
Jetking Infotrain
National Institute of Technology
Billabong High International School