Skip to content

Instantly share code, notes, and snippets.

1) Привет, меня зовут Максим, я разаботчик из Яндекса и мы с Володей приглашаем тебя на курс по алгоритмам и структурам данных, который поможет подготовиться к собеседовании в топовые IT компании.
2) Если алгоритмические секции вызывают у тебя не уверенность, страх, или ты не знаешь
что отвечать интервьюеру когда он например просит проверить наличие циклов в графе, найти
кратчайший путь между вершинами или просит рассказать зачем нужна очередб на 2 стеках.
То курс будет для тебя очень полезен.
4) На лекциях мы затронем такие темы как
Описание проекта
Социальная сеть, основанная на телеграмм. Данная социальная сеть расчитана на то, что ей будут пользоваться программисты.
Функциональность
* Авторизация
* Регистрация
* Поиск глобальный (среди чатов, контактов и новых людей)
* Поиск сообщения в диалоге
* Открыть профиль
## ================ Задача ================
Рассказать про битовые операции
* xor
* &
* |
## ================ Задача ================
package main
type Worker struct {
chann <-chan string
done func()
counter *int
}
func NewWorker(chann <-chan string, done func(), counter *int) Worker {
return Worker{
package main
import "fmt"
func main() {
ch1 := make(chan int)
ch2 := make(chan int)
go func() {
ch1 <- 1
ch1 <- 2
#include "time.h"
#include <bits/time.h>
#include <search.h>
#include <unistd.h>
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#include "time.h"
#include <search.h>
#include <unistd.h>
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#define TIMESTAMP_DELTA 0.05
#include "time.h"
#include <search.h>
#include <unistd.h>
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#define THREADS_COUNT 8
#include "time.h"
#include <search.h>
#include <unistd.h>
#include <math.h>
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
#define THREADS_COUNT 2
{
"configurations": [
{
"name": "(gdb) Attach",
"type": "cppdbg",
"request": "attach",
"program": "/home/am/dev/cpp/playground/prog",
"MIMode": "gdb",
"setupCommands": [
{