JavaScript Hello World

Javascript is a scripting language that is used for evaluating user interaction with HTML and the Web. Syntax:  <script>[commands]</script> first Step: open Notepad editor insert the code below save as Read more

super keyword

With a super keyword, you have access(reference) to your parent class. In addition to super, you benefit invoking the methods, variables of the parent class. Example: Output is: 2 Read more

Prime number

A Prime number is a natural number that is greater than 1 and it can be divided only by himself or one. Prime numbers = {3 5 7 11 13 Read more

Palindrome

A Palindrome is a text, number or sentence which can be read the same phrase or value backwards and forwards. For instance: Anna(forward)    annA (backwards)  We implement our code Read more

Quicksort

Quicksort is an efficient sorting algorithm, developed by British computer scientist Tony Hoare in 1959. Algorithm:  find Pivot element (it may be the first, last or random value in array) Read more

Java Collections

Collections are a set of data performing administration of all abstract datatypes. ( e.g searching,sorting,inserting,delete).Collections are very helpful by providing useful data structures and reduce programming effort. The disadvantages are Read more

binary search tree

A binary tree is an abstract data type(ADT) in computer science. conditions of BST: Every tree has only 1 root(head) each node has 2 children If the node is greater Read more