Pragmatism

Pragmatism means laser focusing on what you're trying to accomplish, and get it done. This problem for example can be solved probably in O(N^3) or O(N^2), but if O(N^4) is easy to implement, and the limits allow it, why not? Cheers, ACC.

Count Special Quadruplets - LeetCode





Comments

Popular posts from this blog

Changing the root of a binary tree

ProjectEuler Problem 719 (some hints, but no spoilers)

The Power Sum, a recursive problem by HackerRank