Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Yarneo
  • Content: Threads
  • Order by date
  1. Yarneo

    Longest Decreasing Subsequence

    Hi everyone, Im trying to code the Longest Decreasing Subsequences out of a given List in prolog. The problem is is that i get duplicates of the answers. here is my code: sublist([],[]). sublist([X|R],[X|S]):- sublist(R,S). sublist([_|R],S):- sublist(R,S). % longest(List,SubList)/2 with mode...

Part and Inventory Search

Back
Top