/coding-questions

Coding interview questions with solutions (C++)

Primary LanguageC++

logo

Coding interview questions with solutions from top IT companies and hot startups


###[⬆] Statement:

Most questions come from IT company interview. Some solutions are NOT my original work, but I don't know who wrote them. Difficulty of questions changes greatly, and the special topics include several advanced ones.

Total Number (not including the problem in the special topics) of Problems: about 210 (120 done).

Although I try to execute every program, bugs may still exist because I didn't run enough tests, welcome to find bugs. The solution may not be optimal, welcome to give your better solution. You can send the corresponding pull request.

By default, the time complexity indicates the worst time and the space complexity doesn't include the stack space.


###[⬆] Problem:

####[⬆] Array:

-- ####[⬆] String:

-- ####[⬆] Linked List:

-- ####[⬆] Heap:

-- ####[⬆] Tree:

-- ####[⬆] Math:

-- ####[⬆] Bit Manipulation:

-- ####[⬆] Graph:

-- ####[⬆] Sorting and Search:

-- ####[⬆] Dynamic Programming:

--

####[⬆] Other: