myCompiler
English
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
Deutsch
English
Español
Français
Italiano
日本語
한국어
Nederlands
Polski
Português
Recent
Login
Sign up
K
@kenbitanga
Linked List - Nullable Node Property
PHP
2 years ago
<?php class Node { public $data; public ?Node $next = null; } class LinkedList { private ?Node $head = null;
SLList
TypeScript
2 years ago
class NumberNode { public data: number; public next: NumberNode; public constructor(data: number) { this.data = data; } } class SLList { private head: NumberNode;
SLList
C#
2 years ago
using System; class Node { public int data; public Node next; public Node(int value) { data = value; next = null;
SLList - Complete
NodeJS
2 years ago
class Node { constructor(data) { this.data = data; this.next = null; } } class SLList { constructor() { this.head = null; this.tail = null;
SLList - Complete
PHP
2 years ago
<?php class Node { public int $data; public Node $next; public function __construct(int $data) { $this->data = $data; }
Singly Linked List - Complete
Go
2 years ago
package main import "fmt" type Node struct { data int next* Node } type SLList struct { head* Node
Previous
Next page