Amazon Kindle – Whispersync implementation?
For those who are not aware of Kindle’s whispersync, here is how it works (from amazon.com):
Efficient Data Structure for holding a graph
Problem Link – http://opc.iarcs.org.in/index.php/problems/NUMTRIPLE
Unit testing a text index
Consider a text index such as a suffix tree or a suffix array supporting Count queries (number of occurrences of a pattern) and Locate queries (the positions of all the occurrences of a pattern) over a given text. How would you go about unit testing such a class ?
Internal Mutation of Persistent Data Structures
To clarify, when I mean use the terms persistent and immutable on a data structure, I mean that:
Separating validation from persistence in models?
Models in an MVC application gets kind of hard to test when validation of data and persistence of data is baked together in the model. I would like to test those separately to prevent doing integration testing instead of actual unit testing.
2D grid with multiple types of objects
This is my first post here in programmers.stackexchange (I’m a regular on SO). I hope this isn’t too general.
Data structures for storing finger/stylus movements in drawing application?
I have a general question about creating a drawing application, the language could be C++ or ObjectiveC with OpenGL.
I would like to hear what are the best methods and practices for storing strokes data.
Think of the many iPad apps that allow you to draw with your finger (or a stylus) or any other similar function on a desktop app.
Serializing Data Structures in C [closed]
Closed 11 years ago.
Count function on tree structure (non-binary)
I am implementing a tree Data structure in c# based (largely on Dan Vanderboom’s Generic implementation). I am now considering approach on handling a Count property which Dan does not implement.
How should I architect my Model and Data Access layer objects in my website?
I’ve been tasked with designing Data layer for a website at work, and I am very interested in architecture of code for the best flexibility, maintainability and readability.