exercism/plsql/hamming/hamming#.plsql

24 lines
657 B
Plaintext
Raw Normal View History

2016-08-13 23:20:14 +00:00
create or replace package hamming#
is
--+--------------------------------------------------------------------------+
-- Computes the Hamming distance between two starnds.
--
-- @param i_first sequence to compare
-- @param i_second sequence to compare
--
-- @return Hamming distance between i_first and i_second
--+--------------------------------------------------------------------------+
function distance (
i_first varchar2
,i_second varchar2
) return pls_integer;
end hamming#;
/
create or replace package body hamming#
is
end hamming#;
/