whoa there partner,im hearing 2 anwasers that do nothing to solve the algae problem.first of i doubt that feeding cukes could cause an algae break anymore than any other food which will eventualy be turned into rotting matter at the bottom of the tank.as for shrimp pellets,that would most likely just fuel the problem,as most prepared foods have a higher level of ash and phosphates than fresh food.next,i wouldn't encourage algae growth in your tank for a couple of reasons.first,you haven't even discribed what kind of algae it is.plecos don't always eat algae either.i wouldn't wish bba or blue-green slime algae on anyone who keeps fish as they can be a pita to get rid of.so let's start with the basics
tank size,water parameters,how often inbetween water changes,filtration,amount of time the lights are on in a days.there is more than one reason for the algae.