Efficiently filling missing values

  • Status: Closed
  • Prize: $15
  • Entries Received: 1
  • Winner: NavyaRenish

Contest Brief

We developed a very complex software which works mostly on a grid of data in memory.
We need the followig function:

AddDummyValuesWhenMissing(wstring FieldName, vector<vector<wstring>> &data)

FieldName - the value in the first row (header) in one of the columns
Data - the double vector we change

Lets say the contents is:

"one", "", "three"
"two", "1", "four"
"five", "2", "Five"
"something", "", ""

The input is "field2"
The function should find that one of the rows has no value in "field2" and then insert a new value, which must be unique and not already exist. Value should be unique.

Function must be ultra fast and we will test it on 100K records.

Please upload the fully working source code including AddDummyValuesWhenMissing() to Google Drive or Dropbox and post a link.

Recommended Skills

Top entries from this contest

View More Entries

Public Clarification Board

  • NYCyber
    Contest Holder
    • 1 month ago

    please submit your source code or a link to a google docs file with it

    • 1 month ago

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!