code.ashish.me

Atom feed

Recently added: 128 Longest Consecutive Sequence, 347 Top K Frequent Elements, 045 Jump Game 2, 228 Summary Ranges, 219 Contains Duplicate 2

List Node

class ListNode {
  constructor(data, next = null) {
    this.data = data
    this.next = next
  }
}

module.exports = ListNode

Created 2019-11-30T02:13:21+05:30 · Edit