Producer-Consumer Simulator
Step through the bounded buffer problem with semaphores. Try the wrong order of waits to see a deadlock, or no semaphores to see lost items.
More in CS Labs & Coding.
CS Labs & CodingTOP PICKSorting VisualizerTOP PICK
Watch 10 sorting algorithms animate step by step with live counters and pseudocode, or race them on the same input.
CS Labs & CodingTOP PICKGraph Algorithm VisualizerTOP PICKDraw your own graph and watch BFS, DFS, Dijkstra, Bellman-Ford, Prim, Kruskal, topological sort and more run step by step, with the queue, the distance table and the reason for every move.
Big-O Estimator from TimingsTime your code on a few input sizes, paste the numbers, and see which growth rate fits best.
OPEN →