Microsoft Interview Report
- 0of 2 votes
AnswersThe following code has a bug, find it and fix it
- sergio March 05, 2017 in United Kingdom for BingRelease() { m_refCount--; m.lock(); if (m_refCount == 0) { free(this); return 0; } m.unlock() return m_refCount; }
| Report Duplicate | Flag | PURGE
Microsoft Software Developer Algorithm - 1of 1 vote
AnswersWrite a function that receives a string an returns a list of all the substrings (of length >= 2) composed by consecutive characters. E.g input : "BCCDE" , output: ["BC","CD","CDE","DE"]
- sergio March 05, 2017 in United Kingdom for Bing| Report Duplicate | Flag | PURGE
Microsoft Software Developer Algorithm
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.