You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2694-event-emitter/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
<h2><ahref="https://leetcode.com/problems/event-emitter/">2694. Event Emitter</a></h2><h3>Medium</h3><hr><div><p>Design an <code>EventEmitter</code> class. This interface is similar (but with some differences) to the one found in Node.js or the Event Target interface of the DOM. The <code>EventEmitter</code> should allow for subscribing to events and emitting them.</p>
1
+
<h2><ahref="https://leetcode.com/problems/event-emitter/">2694. Event Emitter</a></h2><imgsrc="https://img.shields.io/badge/Medium-FECC00"alt="Medium" /><hr><div><p>Design an <code>EventEmitter</code> class. This interface is similar (but with some differences) to the one found in Node.js or the Event Target interface of the DOM. The <code>EventEmitter</code> should allow for subscribing to events and emitting them.</p>
2
2
3
3
<p>Your <code>EventEmitter</code> class should have the following two methods:</p>
0 commit comments