@tomaszjarosz/react-visualizers 0.4.15 → 0.4.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -2
- package/dist/index.cjs +7813 -3538
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +77 -0
- package/dist/index.js +7813 -3538
- package/dist/index.js.map +1 -1
- package/dist/react-visualizers.css +12 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@ Interactive algorithm and data structure visualizers for React. Perfect for lear
|
|
|
8
8
|
|
|
9
9
|
## Features
|
|
10
10
|
|
|
11
|
-
- **
|
|
11
|
+
- **65 interactive visualizers** covering algorithms, data structures, and distributed systems
|
|
12
12
|
- **Interview Mode** with built-in questions, scoring, hints, and explanations
|
|
13
13
|
- **Step-by-step animations** with playback controls (play, pause, step forward/back)
|
|
14
14
|
- **Code highlighting** showing the current line being executed
|
|
@@ -119,7 +119,7 @@ function App() {
|
|
|
119
119
|
| `GCVisualizer` | JVM generational garbage collection |
|
|
120
120
|
| `SQLJoinVisualizer` | SQL JOIN operations (INNER, LEFT, RIGHT, FULL) |
|
|
121
121
|
|
|
122
|
-
### Interview Mode (
|
|
122
|
+
### Interview Mode (28)
|
|
123
123
|
|
|
124
124
|
Interview visualizers include built-in questions with multiple choice answers, hints, and detailed explanations. Perfect for interview preparation.
|
|
125
125
|
|
|
@@ -142,6 +142,17 @@ Interview visualizers include built-in questions with multiple choice answers, h
|
|
|
142
142
|
| `LinkedListInterviewVisualizer` | Two-pointer techniques, cycle detection, reversal |
|
|
143
143
|
| `HeapInterviewVisualizer` | Heap property, HeapSort, time complexity, priority queues |
|
|
144
144
|
| `SegmentTreeInterviewVisualizer` | Range queries, point updates, lazy propagation, space complexity |
|
|
145
|
+
| `LRUCacheInterviewVisualizer` | HashMap + DLL, O(1) operations, eviction policy, thread-safety |
|
|
146
|
+
| `ArrayListInterviewVisualizer` | Amortized O(1), growth factor, thread safety, LinkedList comparison |
|
|
147
|
+
| `BinarySearchInterviewVisualizer` | O(log n), overflow prevention, invariant, lower/upper bound |
|
|
148
|
+
| `TopologicalSortInterviewVisualizer` | Kahn's algorithm, in-degree, cycle detection, DAG ordering |
|
|
149
|
+
| `ConcurrentHashMapInterviewVisualizer` | Segment locking, CAS operations, lock-free reads, atomic methods |
|
|
150
|
+
| `PriorityQueueInterviewVisualizer` | Min-heap, sift-up/down, build heap O(n), iterator behavior |
|
|
151
|
+
| `ArrayDequeInterviewVisualizer` | Circular buffer, bitwise indexing, stack/queue usage |
|
|
152
|
+
| `LinkedHashMapInterviewVisualizer` | Insertion/access order, LRU cache, removeEldestEntry |
|
|
153
|
+
| `EnumSetInterviewVisualizer` | Bit vector, O(1) ops, 35x memory savings vs HashSet |
|
|
154
|
+
| `BlockingQueueInterviewVisualizer` | Producer-consumer, put/take blocking, implementations |
|
|
155
|
+
| `CopyOnWriteInterviewVisualizer` | Lock-free reads, O(n) writes, snapshot iterators |
|
|
145
156
|
|
|
146
157
|
## Interview Mode Usage
|
|
147
158
|
|