What do you want to save?
Add Code snippet
New code examples
-
Other 2023-03-27 22:50:10
how to select the whole line in vscode with keyboard shortcut
Command + L Add solution -
Java 2022-03-28 03:35:55
Java
//create ArrayList ArrayList<String> arrayList = new ArrayList<String>(); //add item to ArrayList arrayList.add("item"); //check if ArrayList contains item (returns boolean) System.out.println(arrayList.contains("item")); /... Add solution -
-
C# 2022-03-27 22:40:23
c# movement script
using UnityEngine; using System.Collections; // This script moves the character controller forward // and sideways based on the arrow keys. // It also jumps when pressing space. // Make sure to attach a character controller to the same game object. // It... Add solution -
PHP 2022-03-27 22:35:13
Dijkstra’s algorithm php
$INT_MAX = 0x7FFFFFFF; function MinimumDistance($distance, $shortestPathTreeSet, $verticesCount) { global $INT_MAX; $min = $INT_MAX; $minIndex = 0; for ($v = 0; $v < $verticesCount; ++$v) { if ($shortestPathTreeSet[$v] == false &&... Add solution