What is the difference between repartition and coalesce in Apache Spark?
Spark/Big Datamedium
2
What is the difference between narrow and wide transformations in Apache Spark? Explain with examples.
Spark/Big Datamedium
3
Write a Python function to check if a string is a palindrome.
Python/Codingmedium
4
Convert complex SQL (CTEs, window functions, subqueries) to production-grade PySpark. Discuss when to use spark.sql() vs. DataFrame API, and the implications for testability, partitioning, and execution predictability.
Spark/Big Datamedium
5
Write a Python script to find the count of each word in a text file using Spark.
Spark/Big Datamedium
6
Write a Python function to check if a string is a palindrome.
Python/Codingmedium
7
Match countries in a pairwise format
General/Othermedium
8
Reverse operation for splitting values back to original format
General/Othermedium
+20 More Questions with Expert Answers
Get the complete 1,800+ question library with detailed, expert-level answers covering SQL, Spark, System Design, Python, Cloud, and Behavioral topics.