2013-09-08
иногда я жалею, что родился не в Челябинске
челябинцы вошли на территорию национального парка, не заплатив за входной билет. Медведя они приняли за переодетого работника парка, испугались, что попались, и решили провести «профилактическую» атаку. «Мы не знали, что это медведь», — говорит смущённый Василий Дубенко. "Мы хотели только раз дать ему в морду, чтобы отцепился. Ну, и началась драка",— добавляет Алексей Павлович.
"В результате происшествия медведя, которого работники парка ласково называют Самсоном, усыпили и перевезли в хирургическую клинику Кракова. Животное прооперировали, наложив 9 швов только на голове и удалив сломанный клык. Сейчас Самсон проходит реабилитацию в зоопарке."
"В результате происшествия медведя, которого работники парка ласково называют Самсоном, усыпили и перевезли в хирургическую клинику Кракова. Животное прооперировали, наложив 9 швов только на голове и удалив сломанный клык. Сейчас Самсон проходит реабилитацию в зоопарке."
a funny interview question, ascribed to Google
Design an algorithm that, given a list of n elements in an array, finds all the elements that appear more than n/3 times in the list.
The algorithm should run in linear time. (n >=0 )
You are expected to use comparisons and achieve linear time. No hashing/excessive space/ and don’t use standard linear time deterministic selection algo
rithm.
and here's another one
Find maximum product of subarray in given array of integers
and one more
Given a float number 7.64, convert it into the string WITHOUT using any inbuilt function/library.
(sigh) I now tend to believe that the biggest problem in programming is that everybody is an idiot. The set of idiots is dense.
The algorithm should run in linear time. (n >=0 )
You are expected to use comparisons and achieve linear time. No hashing/excessive space/ and don’t use standard linear time deterministic selection algo
rithm.
and here's another one
Find maximum product of subarray in given array of integers
and one more
Given a float number 7.64, convert it into the string WITHOUT using any inbuilt function/library.
(sigh) I now tend to believe that the biggest problem in programming is that everybody is an idiot. The set of idiots is dense.
а вот израильский Челябинск:
In a recent interview, General Norman Schwarzkopf was asked if he
thought there was room for forgiveness toward Hezbollah.
The General said,
" I believe that forgiving Hezbollah is God's function. The Israeli's
job is to arrange the meeting ."
thought there was room for forgiveness toward Hezbollah.
The General said,
" I believe that forgiving Hezbollah is God's function. The Israeli's
job is to arrange the meeting ."