interview

i18n framework for HTML pages – jQuery

The problem is quite simple. You have HTML pages as your front end and you are not using any server side scripting to display your pages i.e. you are not using jsp or php or servlets to get HTML content. Application is HTML pages and javascript which is using Ajax to talk to back end [...]


Bubble Sort and Binary Search – Java

Just like that i was again brushing my core Java few days back and wrote bubble sort and binary search code in Java. Here i am sharing the code, please post your comments in case this can be further optimized: Bubble Sort: public static void main(String args[]) throws Exception{ int[] newArr = new int[]{21,33,2,56,34,11,7,35,27,87,233,108,26,12,6,90,365,243,666,67}; int [...]


Convert timestamp between timezones : CONVERT_TZ() – MySql

Any application targeted for people in different countries or even in different cities requires to handle timezones for the users for application. One main requirement is to show data against user’s timezone e.g. creation date & time of any message to the user. Many applications solve this by asking users their timezone at the time [...]


Samples – Learn easily (some useful websites)

Examples and samples let you learn things easily. You understand things with examples quickly than learning from just theory. I found a series of websites from where you can get samples, best samples according to website owners. 1. www.bestsamplequestions.com: This website contains sample questions for all major tests like GRE, CAT, LSAT, SAT, GMAT, TOEFL [...]


SAX Parser – Reading CDATA

CDATA is the section in XML Document which should not be parsed by XML parser implementation. This section can be used to pass the data which generally does not comply with XML syntax like a javascript function. If you need to transfer a javascript function in your XML document or a JSON formatted data which [...]