Pandas, Polars, Spark on Leetcode

Hi, I was wondering if there could be some update to LeetCode to include practice for Pandas, Polars, Spark, or any other similar tool.

I'm currently using https://platform.stratascratch.com/coding and https://www.interviewquery.com/questions, but I find it quite inconvenient to use so many sites, all with different interfaces, different progress, etc. It would be very nice to have everything in one place, and since LeetCode is the best site in the known universe to practice solving (not only) interview coding questions, it would be natural to make it available here.

Of course, I know making completely different questions, editorials, etc. for a new branch of LeetCode would be very hard and time-consuming, and all for just a fraction of users.

However, my solution and proposition for it is quite simple. Since we have a dedicated part of LeetCode specifically for databases, wouldn't it be best to simply include Python+Pandas/Python+Spark/Python+Polars as possible languages for these questions, with slight modifications, so that we operate on and return DataFrames rather than Tables? It is done this way on Stratascratch, and it functions just as well as MySQL/MSSQL/PostgreSQL on LeetCode.

I think it would positively impact LeetCode, and with a little work, it could increase the pool of people willing to even pay for premium just to get access to such questions. Reversing a binary tree is fine and all, but you don't use it in everyday job. On the other hand, joining, filtering, aggregating, and grouping data are daily tasks, and the ability to practice them with simultaneous possibilities to learn from the very best guys would be game-changing.

What do you think? Of course, if you have other propositions for tools that have a similar profile, please include them in the comments.

Comments (23)