Hi!!!!   /* PROBLEM STATEMENT Here, the salesman is given the distance chart by his/her manager based on which (s)he has to cover all the cities in the distance chart but ensure that (s)he covers the MINIMUM DISTANCE. For better text, read http://en.wikipedia.org/wiki/Travelling_salesman_problem. */         / drop table salesmans_scrambled_dist_chart; create table salesmans_scrambled_dist_chart (       source      varchar2(5),       destination varchar2(5),       distance    number(5,0) ); truncate table salesmans_scrambled_dist_chart; insert into salesmans_scrambled_dist_chart values ('-AGR-','-DEL-',250); insert into salesmans_scrambled_dist_chart values ('-AG...
Due to my 'lazy' mind fidgeting around, I came up with the following :-) the following article gives the complete code (yes, it's redistributable!) to generate the distinct alphabets that are possible, if the list of alphabets to be used are known [in the table - elements_for_scramble] (through Oracle PL/SQL - pkg_scrambler ) as a part of solving the business problem, you will also learn the basics of SQL and  PL/SQL in oracle). So, without further ado, here it goes:     --=: LOADER := / drop table elements_for_scramble; / create table elements_for_scramble (       sno     number(5,0),       avlbl_alphabet  varchar2(5) ); / truncate table elements_for_scramble; ins...
Due to my 'lazy' mind fidgeting around, I came up with the following :-) the following article gives the complete code (yes, it's redistributable!) to generate the distinct alphabets that are possible, if the list of alphabets to be used are known [in the table - elements_for_scramble] (through Oracle PL/SQL - pkg_scrambler ) as a part of solving the business problem, you will also learn the basics of SQL and  PL/SQL in oracle). So, without further ado, here it goes:     --elements_for_scramble FOR 3!!! --=: LOADER := / drop table elements_for_scramble; / create table elements_for_scramble (       sno     number(5,0),       avlbl_alphabet  varchar2(5) ); / truncate...

Posted by on in Blogs
This is an example of a WordPress page, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many pages like this one or sub-pages as you like and manage all of your content inside of WordPress....
  • Page :
  • 1