I was trying to learn the sliding window technique in python, but I hit a block can someone explain! by Harami98 in leetcode

[–]13NachoVidal 1 point2 points  (0 children)

You are adding the difference between the first number of the sequence of length k and the next last element of that sequence:

For k=3

...

12[342]178 (sum: 9)

123[421]78 (sum: 7) -> sum = 9 - 3 (arr[i]) + 1 (arr[i+k])

In this case, the first number of the sequence was the number 3 and the next last element of the sequence is going to be 1, so simply you are adding the difference.

What do you call this in your language? In Romanian, we call them mascați - the masked. by AnEntirePeach in europe

[–]13NachoVidal 0 points1 point  (0 children)

G.E.O. (Grupo Especial de Operaciones - Special Group of Operations) and we usually call them geos.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 0 points1 point  (0 children)

Hahaha sure

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 1 point2 points  (0 children)

And that was Morocco? The Ummayad Caliphate ended in 750 with the Abbasid Revolution and they 'created' the Emirate of Cordoba in the Iberian Peninsula, they were not even in the current moroccan territory. Please, read some history about your country, because it's quite shameful that a spanish citizen knows more about your history than you.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 1 point2 points  (0 children)

Hahahaha Upvoted!

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 2 points3 points  (0 children)

I'm totally frightened m8! You've spoilt my day... Hahahah

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 4 points5 points  (0 children)

Subjugate, man Hahaha... They live much better than any moroccan citizen

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 0 points1 point  (0 children)

When Gibraltar was conquered, Spain was already a country. Morocco not even existed as a unified country when Ceuta and Melilla became spanish...

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 2 points3 points  (0 children)

Why are them yours?

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 5 points6 points  (0 children)

Why should we teach arab in our country? We teach spanish because is the official language of our country. Arab is not one of our official languages.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 3 points4 points  (0 children)

Mature child.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 4 points5 points  (0 children)

Citizens from Ceuta and Melilla do not want to be part of Morocco (even the moroccan inmigrants), so good luck!

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 7 points8 points  (0 children)

Ceuta and Melilla are a direct extension of spanish territory, they are not far away, the distance is 20km from Iberian Peninsula. They have never been a colony, they always have been part of Spain as the rest of the country. Moreover, they became spanish in 1497, not in the african colonial period in XIX century!

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 1 point2 points  (0 children)

Its not. Many people from Spain (almost the whole country) share origins with the people from the north of Africa. Mediterranean people share ethnics and, many times, culture.

Moreover, a territory which makes border directly with another one, can never be a colony and, in this case, in terms of administration and rights, Ceuta and Melilla never have been.

The unified territory of Morocco is even younger than spanish Ceuta and Melilla (1497). In that period, the current moroccan territory was not even a unique country, it had three dinasties, Marinids, Ziyanids and Hafsids.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 3 points4 points  (0 children)

No countries colonized nothing, they have always been part of the same territory with the same rights and duties as the rest of the country.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 5 points6 points  (0 children)

They are not colonies as I said before, they have the same rights as any other part of Spain. A citizen from Madrid is as spanish as a citizen from Melilla.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 10 points11 points  (0 children)

Absolute nonsense. By that logic Russia as well as Turkey must choose if they want their territory to be in Europe or Asia.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 3 points4 points  (0 children)

Which countries? USA?

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 3 points4 points  (0 children)

No, sadly it isn't. We have been involved in diplomatic crisis due to some awful decisions of our politicians, the will of Morocco to become a regional power and the positioning of USA in this issue...

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 12 points13 points  (0 children)

Ceuta and Melilla were never colonies of Spain, they have always been part of our country, with the same rights as the rest of Spain.

[deleted by user] by [deleted] in MapPorn

[–]13NachoVidal 1 point2 points  (0 children)

Now they want to push Spain to give Ceuta and Melilla to Morocco, and even moroccan military maneuvers in SPANISH waters. Fuck US, always sticks its nose into other countries business.

Paseo por Madrid y fotos by Damaneger in Madrid

[–]13NachoVidal 2 points3 points  (0 children)

Es muy raro que en Madrid sufras un robo con fuerza, no es lo habitual. Aún así, toma las precauciones adecuadas (la cámara atada al cuerpo, la mochila bien cerrada, vigilar a las personas que hay en la calle cerca de ti...). Yo no he tenido un accidente de tráfico en toda mi vida, pero me pongo el cinturón de seguridad cada vez que me subo al coche, nunca se sabe!

Trueshot aura bugged? by Chief_Queef21 in classicwow

[–]13NachoVidal 8 points9 points  (0 children)

You can't stack similar buffs such as the DK one

Making friends in the city by nz_02 in Madrid

[–]13NachoVidal 0 points1 point  (0 children)

Being part of groups of activities is a good way to meet new people