Anyone got codes for the ff.?

Frequency count

Stack and queue

Conversion of infix to postfix using stack

binary search tree

Anyone? my prof asked us to search for the ff and i thought this would be the best site with the best codes. thanks

public class DaniWebHelper {

   public static void main(String[] args) {

      String[] questions = {
            "Frequency count",
            "Stack and queue",
            "Conversion of infix to postfix using stack",
            "binary search tree"
         };
      for (String q : questions) {
         String url = "http://www.google.co.in/search?q=QQQ+site%3Awww.daniweb.com";
         System.out.println("Answer to \"" + q +
               "\":\n\t- Open a browser and type following in URL:\n\t  "
               + url.replace("QQQ", q.replace(' ', '+'))
               + "\n\t- Now press enter!");
      }
   }
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.