What do you want to save?
Add Code snippet
New code examples
-
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 -
Java 2022-03-27 20:40:19
TreeSet headSet(E toElement) method in java
import java.util.Iterator; import java.util.TreeSet; public class TreeSetHeadSetEToElementMethodExample { public static void main(String[] args) { TreeSet<Integer> ts = new TreeSet<Integer>(); TreeSet<Integer> hs = new ... Add solution -
Java 2022-03-27 16:45:39
TreeMap clear() method in java
import java.util.TreeMap; public class TreeMapClearMethodExample { public static void main(String[] args) { TreeMap<Integer, String> tm = new TreeMap<Integer, String>(); tm.put(8, "red"); tm.put(12, "blue... Add solution -
Shell/Bash 2022-03-24 22:30:18
com.github.parse-community.Parse-SDK-Android
Copyright (c) 2015-present, Parse, LLC. All rights reserved. This source code is licensed under the BSD-style license found in the LICENSE file in the root directory of this source tree. An additional grant of patent rights can be found in the PATENTS fi... Add solution -
Html 2022-03-22 20:00:52
a pint of sap from a 4000 year old bristlecone pine
<html> <title> The Invention Of Vita Wonka </title> <body> <p> Mr Wonka collected a pint of sap from a 4000 years old Bristlecone pine tree, whiskers of a 36 years old cat called Crumpets, an egg laid by a... Add solution -
Javascript 2022-03-19 04:15:15
place.address_components[i].types[0];
var componentForm = { street_number: 'short_name', route: 'long_name', locality: 'long_name', administrative_area_level_1: 'short_name', postal_code: 'short_name' }; var place = searchaddress.getPlace(); for (var i = 0; i < place.... Add solution