Google Interview
Anonymous User
2430

Hello,

I had google technical interview today for L3 level, I wrote the correct code but messed up when they asked about time complexity. Although they asked follow up later and i coded it up and gave correct time complexity. Will I get hire in feedback?

The question was

You have list of transactions which contains elements as tuple of price, shares, date, symbol and type. Now if the type is buy we buy the share if the type is sell then for that symbol we will sell the first bought shares first. Find the profit amount after the sequence of transaction

Comments (9)