Digitale Medien

while(read code):
	if(dictionary.contains(code)):
		dictionary.push(dictionary[previousCode] + firtsChar(dictionary[code]))
	else:
		dictionary.push(dictionary[previousCode] + firtsChar(dictionary[previousCode]))
		
	print(dictionary[code])
	previousCode = code
while(read code):
	x = code           , wenn code in dictionary code
	    previousCode   , sonst
	
	dictionary.push(dictionary[previousCode] + firtsChar(dictionary[x]))
	print(dictionary[code])
	previousCode = code

puffer füllen(n) = ausgabe(n-1) ?
merken(n) = ausgabe(n)

users/skruppy/ext/uni/5/dm/start.txt · Zuletzt geändert: 2014/02/19 02:04 von skruppy