Real Interview Questions

Captured live from 391+ real technical interviews. Updated daily.

🎤 Questions auto-captured by Assisting AI during live interviews

Clear
15 questions found Topic: Pyspark

Give PySpark code to calculate the friend acceptance rate for each date when friend requests were sent. A request is sent if action = 'sent' and accepted if action = 'accepted'. If a request is not accepted, there is no record of it being accepted in the table. The output should only include dates where requests were sent and at least one of them was accepted (acceptance can occur on any date after the request is sent).

Pyspark Dataframes Aggregation
🟡 Medium Coding Junior Asked 1× Apr 2026

Want these questions in real-time during your interview?

Assisting AI listens to your interview, captures questions live, and gives you instant AI-powered answers — invisible to screen sharing.

Get Assisting AI — Starts at ₹500