quote

giovedì, ottobre 03, 2024

100 Most Common German Words with Italian Translation (CGPT)

100 Most Common German Words with Italian Translation

100 Most Common German Words with Italian Translation

Below is a list of the 100 most commonly used words in the German language, along with their Italian translations.

German Italian
unde
seinessere
inin
habenavere
nichtnon
ja
neinno
wascosa
wiecome
wodove
wannquando
warumperché
welchequale
dieserquesto
hierqui
dort
gutbuono
schlechtcattivo
großgrande
kleinpiccolo
altvecchio
neunuovo
vielmolto
wenigpoco
mehrpiù
wenigermeno
(Der) Menschuomo
(Die) Fraudonna
(Das) Kindbambino
(Der) Freundamico
(Die) Familiefamiglia
(Der) Taggiorno
(Die) Nachtnotte
(Die) Zeittempo
(Das) Jahranno
(Die) Wochesettimana
(Der) Monatmese
(Das) Lebenvita
(Die) Arbeitlavoro
(Die) Schulescuola
essenmangiare
trinkenbere
gehenandare
kommenvenire
sehenvedere
hörensentire
sprechenparlare
schreibenscrivere
lesenleggere
denkenpensare
wissensapere
liebenamare
nehmenprendere
gebendare
arbeitenlavorare
lernenimparare
spielengiocare
wartenaspettare
suchencercare
findentrovare
fragenchiedere
antwortenrispondere
bleibenrestare
fahrenguidare
laufencorrere
schlafendormire
helfenaiutare
bringenportare
kaufencomprare
verkaufenvendere
beginneniniziare
endenfinire
öffnenaprire
schließenchiudere
vergessendimenticare
erinnernricordare
hoffensperare
glaubencredere
spielensuonare
tanzenballare
sitzensedere
stehenstare in piedi
liegengiacere
fallencadere
springensaltare
lachenridere
weinenpiangere
sehenguardare
ziehentirare
drückenpremere
verstehencapire

martedì, febbraio 28, 2023

Code Completion in IntelliJ IDEA on Mac

The shortcut for code compeletion for intelliJ IDEA in MacOS is:
Ctrl+Option+Space

lunedì, febbraio 27, 2023

Coin Change Problem (Dynamic Programming)

youtube
I've asked to chatGPT why dp[i] +=dp[i-coin]
In point 2), we consider the case where we use the coin c to make change for the amount i. In this case, we can use the same number of possible combinations as we could for the amount i-c to make change for the amount i. Let me give you an example to illustrate this. Suppose we have the coins [1, 2, 5] and we want to make change for the amount 7. To compute the number of possible combinations of coins required to make change for the amount 7 using the coins up to 5, we can do the following: We start with dp[0] = 1, since there is only one way to make change for 0 (using no coins). We consider the first coin 1. For each amount i from 1 to 7, we check whether we can use the coin 1 to make change for the amount i. If we can, we update dp[i] by adding the value of dp[i-1] to it, since we can use one 1 coin and the number of possible combinations required to make change for the amount i-1 to make change for the amount i. For example, to make change for the amount 2, we can use one 1 coin and the number of possible combinations required to make change for the amount 1. Therefore, we update dp[2] by adding dp[1] to it. After considering the first coin, we have dp = [1, 1, 1, 1, 1, 1, 1]. We consider the second coin 2. For each amount i from 2 to 7, we check whether we can use the coin 2 to make change for the amount i. If we can, we update dp[i] by adding the value of dp[i-2] to it, since we can use one 2 coin and the number of possible combinations required to make change for the amount i-2 to make change for the amount i. For example, to make change for the amount 3, we can use one 2 coin and the number of possible combinations required to make change for the amount 1. Therefore, we update dp[3] by adding dp[1] to it. After considering the second coin, we have dp = [1, 1, 2, 2, 3, 3, 4]. We consider the third coin 5. For each amount i from 5 to 7, we check whether we can use the coin 5 to make change for the amount i. If we can, we update dp[i] by adding the value of dp[i-5] to it, since we can use one 5 coin and the number of possible combinations required to make change for the amount i-5 to make change for the amount i. For example, to make change for the amount 6, we can use one 5 coin and the number of possible combinations required to make change for the amount 1. Therefore, we update dp[6] by adding dp[1] to it. After considering the third coin, we have dp = [1, 1, 2, 2, 3, 4, 5].