Search
⌘K

Leetcode 3220. Odd and Even Transactions

Group transactions by date and use conditional aggregation to compute odd_sum (sum of amounts where transaction_id is odd) and even_sum (sum where it's even), showing 0 when none exist and ordering the results by transaction_date ascending.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.