Amazon interview question

Build data model for Amazon write code to test if the input was IP address what is the difference between Data Model types questions about Map reduce