Hour-Long Technical Interview
Python Questions:
Reverse Substring in String (without using slices):
I was tasked with reversing a substring within a given string without employing slicing operations. This problem resembled the scenario described in this LeetCode problem.
Find Prime Numbers within a Range (O(n)):
The challenge was to devise an algorithm to identify prime numbers within a specified range with a linear time complexity of O(n).
ETL Description and Spark Script:
I was prompted to elucidate the Extract, Transform, Load (ETL) process and then compose a Spark script to perform ETL transformations.
SQL Questions:
Top 5 Salary After Joining 2 Tables:
The task involved querying to ascertain the top 5 salaries after merging data from two tables.
Employees and Projects Before 2024:
This query necessitated joining four tables to retrieve information about employees and projects initiated prior to the year 2024. Additionally, year extraction from a DateFormat column.
All coding tasks were conducted on Coderpad, where you needed to execute the scripts to showcase the results accurately.