If interviewer asks a problem and you come up with some solution say of O(n) time complexity with iterating twice over an array. But optimized solution involves just one iteration. Should you ask interviewer if the approach you told is fine or if it can be done with lesser avergae time complexity. Or you yourself have to figure out that whether your approach is good enough?
India
16h
484
Why Modi not asking for votes based on work?
Tech Industry
4h
635
When Indians experience racism, but they are racist, too
India
7h
562
How to invest in India as an NRI?
2024 Presidential Election
Yesterday
1869
Trump is practically destroying Biden at every poll.
India
13h
633
Dhruv Rathee speaks lies about Ch. Shivaji Maharaj