algorithm - Transmitting hand-written information over a network -


a teacher writing on blackboard , want pass information on blackboard on low-bandwidth network in real-time. how it?

in 1 interview, faced question.

i have feeling question worded such no other computers used. if had guess, interviewer wanted interviewee realize sending snapshot of entire board 20 times second bandwidth intensive. instead, maybe realize piece of chalk can write on 1 section of board @ time, , relatively write - write bunch of stuff before erasing. our low bandwidth, might want send current position of chalk several times second, , on our receiving end, keep drawing pixels wherever chalk is. way sending 20 x,y pairs second rather 20 entire bitmaps.


Comments

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -