What do you want to save?
Add Code snippet
New code examples
-
C 2021-09-05 04:50:05
online python to c converter
from collections import deque def BFS(a, b, target): # Map is used to store the states, every # state is hashed to binary value to # indicate either that state is visited # before or not m = {} isSolvable = False path = [] # Queue to maintain... Add solution -
Java 2021-09-04 00:51:02
leetcode 46 problem permutation in java
public ArrayList<ArrayList<Integer>> permute(int[] num) { ArrayList<ArrayList<Integer>> result = new ArrayList<ArrayList<Integer>>(); //start from an empty list result.add(new ArrayList<Integer>()); &nbs... Add solution -
Python 2021-09-03 12:52:03
extract url parameters python
#Analysing URL parameters with Python for SEO from pandas import DataFrame, read_csv import urllib.parse as urlparse from urllib.parse import parse_qs input_file = "spreadsheet.csv" output_file = "output.csv" url_column = "Addres... Add solution -
Other 2021-09-01 07:50:01
display sequence of days
function weekendDaysToString($days, $lang = 'en') { $and = array('pt'=>'e', 'en'=>'and'); $strWeek = array( // config with more langs! 'pt'=>array("Segunda", "Terça", "Quarta", "Quinta... Add solution