Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

TSQL Challenge 71 - Play mangled words game in TSQL

By Jacob Sebastian,

TSQL Challenge 71 - Play mangled words game in TSQL

Your task is to process the input table that contains several mangled words and try to 'un-mangle' them and validate them against a 'dictionary' table. You might be able to create more than one correct word from some of the input strings. It is also possible that a mangled word is completely incorrect and no valid word can be created from it.

As an example, given "xtet", the valid word that can be formed is "text".

http://beyondrelational.com/puzzles/challenges/105/play-mangled-words-game-in-tsql.aspx

 
Total article views: 1366 | Views in the last 30 days: 2
 
Related Articles
FORUM

Username Validation

Username Validation

FORUM

Validation warning.

Validation warning.

FORUM

stored procedure is valid or not valid.

stored procedure is valid or not valid.

FORUM

Importing Validation

Import Xcell Spreadsheet and validate

FORUM

Subscription failed validation.

Why subscription fails validation?

Tags
 
Contribute