Demandbase
Tyche Media Interview Questions and Answers
Q1. move zeros to the end of the array
Move all zeros in an array of strings to the end.
Iterate through the array and move all zeros to the end by swapping with non-zero elements.
Maintain a pointer to keep track of the position to swap with zeros.
Example: Input: ['a', 'b', 'c', '0', 'd', '0'], Output: ['a', 'b', 'c', 'd', '0', '0']
Q2. Find the minimum element in a stack in O(1) complexity
To find the minimum element in a stack in O(1) complexity, we can use an auxiliary stack.
Create an auxiliary stack to keep track of the minimum element.
Push the first element of the main stack onto the auxiliary stack.
For each subsequent element, compare it with the top element of the auxiliary stack.
If it is smaller, push it onto the auxiliary stack.
To get the minimum element, simply return the top element of the auxiliary stack.
When popping elements from the main stack, als...read more
Q3. experience with Scala
I have 3 years of experience working with Scala in developing backend applications.
Developed RESTful APIs using Scala Play framework
Utilized Akka for building highly concurrent and distributed systems
Worked on data processing tasks using Apache Spark with Scala
Q4. experience with airflow
Airflow is an open-source platform to programmatically author, schedule, and monitor workflows.
Airflow is used for orchestrating complex workflows in data pipelines.
It allows users to define workflows as Directed Acyclic Graphs (DAGs).
Airflow provides a web-based UI for monitoring and managing workflows.
It supports various integrations with different systems and tools.
Example: Using Airflow to schedule ETL jobs for data processing.
Q5. experience with Java
Extensive experience with Java programming language
Proficient in Java programming for over 5 years
Developed multiple applications using Java, including web applications and desktop applications
Strong understanding of object-oriented programming concepts in Java
Experience with Java frameworks such as Spring and Hibernate
Familiar with Java development tools like Eclipse and IntelliJ IDEA
Q6. where to look for C-level details
Look for C-level details in company annual reports, press releases, investor presentations, and industry publications.
Company annual reports
Press releases
Investor presentations
Industry publications
Q7. Public vs private company
Public companies are traded on stock exchanges and have more regulatory requirements, while private companies are not traded publicly and have more flexibility.
Public companies have more regulatory requirements due to SEC regulations
Private companies have more flexibility in decision-making and operations
Public companies have more transparency as they are required to disclose financial information to the public
Private companies have more privacy as they are not required to di...read more
Q8. Data analytics using excel
Data analytics using excel involves analyzing and interpreting data using various tools and functions in Excel.
Use functions like VLOOKUP, SUMIF, and PivotTables to analyze data
Create charts and graphs to visualize data trends
Use conditional formatting to highlight important data points
Perform statistical analysis using Excel's data analysis toolpack
Clean and organize data using filters and sorting functions
Q9. Longest island problem
Find the length of the longest island in a 2D grid.
Iterate through the grid and perform a depth-first search (DFS) to find each island.
Keep track of the length of each island and return the maximum length found.
Consider the grid as a graph where each cell is a node and adjacent cells are connected edges.
Use a visited array to mark cells that have already been visited during the DFS.
Handle edge cases such as empty grid, grid with no islands, or grid with all water cells.
Interview Process at Tyche Media
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month