top of page
Search
Abhinaw Tripathi
Jun 14, 20162 min read
Tree continue complete example in core-java
Complete Tree program: import java.util.Stack; /** * */ /** * @author Abhinaw.Tripathi * */ class Node { public int iData; ...
4 views0 comments
Abhinaw Tripathi
Jun 14, 20162 min read
Binary Tree continues example in java
Finding a Node Finding a node with a specified key is the simplest of the major tree operations. Code example: public Node find(int key)...
3 views0 comments
Abhinaw Tripathi
Jun 14, 20162 min read
Binary Trees
Why use Binary Trees? Because,it combines the advantage of two other structures: an ordered array and linked list.you can search a tree...
3 views0 comments
Abhinaw Tripathi
Jun 13, 20162 min read
Shell Sort example in java
Shell sort is a sorting algorithm that requires asymptotically fewer than O(n²) comparisons and exchanges in the worst case. Although it...
2 views0 comments
Abhinaw Tripathi
Jun 10, 20161 min read
Merge sort example in core java recursion
Merge Sort: our final example of recursion is the merge-sort.This is more sorting technique.While the bubble,insertion and selection...
5 views0 comments
Abhinaw Tripathi
Jun 10, 20161 min read
Divide-and-Conquer Algorithms and Tower of Hanoi Puzzle in core-java
What is Divide-and-Conquer Algorithms? Divide-and-Conquer Algorithms: The Divide-and-Conquer approach is commonly used with...
4 views0 comments
Abhinaw Tripathi
Jun 10, 20161 min read
Recursive Binary Search example in core java
Binary Search: We can make binary search recursive like below . first we will see simple binary search then will see recursive binary...
5 views0 comments
Abhinaw Tripathi
Jun 10, 20161 min read
Recursion Anagrams example in core-java
Anagrams: Some times anagrams suits in a situation in which recursion provides a neat solution to a problem.A permutation is an...
6 views0 comments
Abhinaw Tripathi
Jun 9, 20162 min read
Recursion in Java example
What is Recursion? Recursion is a programming technique in which a method calls itself.This may sound like a strange thing to do or even...
5 views0 comments
Abhinaw Tripathi
Jun 9, 20162 min read
Doubly Linked Lists operation example in core java
Doubly Linked List basic operation example: /** * */ /** * @author Abhinaw.Tripathi * */ class Link { public long dData; public Link...
5 views0 comments
Abhinaw Tripathi
Jun 9, 20161 min read
Queue implemented by a Linked List in core-java
Queue implemented by a Linked List: /** * @author Abhinaw.Tripathi * */ class Link { public long dData; public Link next; public...
3 views0 comments
Abhinaw Tripathi
Jun 9, 20161 min read
A Stack Implemented by a Linked List in core-java
Stack implementation by a Linked List: /** * @author Abhinaw.Tripathi * */ class Link { public long dData; public Link next; public...
7 views0 comments
Abhinaw Tripathi
Jun 9, 20161 min read
Sorted Link List example in core-java
Sorted Linked List: /** * @author Abhinaw.Tripathi * */ class Link { public long dData; public Link next; public Link(long dd) ...
3 views0 comments
Abhinaw Tripathi
Jun 8, 20161 min read
Double-Ended Lists in core-java
Double-Ended List A double-ended lists is similar to an ordinary linked list but it has one additional feature that a reference to the...
2 views0 comments
Abhinaw Tripathi
Jun 8, 20162 min read
Continuing on Linked Lists(Finding and Deleting Specified Links)
Finding and Deleting Specified Links: Search a linked list for a data item with a specified key value and to delete an item with a...
2 views0 comments
Abhinaw Tripathi
Jun 7, 20162 min read
Linked List Discussion in Core-Java
Linked-Lists : As we know that Arrays had certain disadvantages as data storage structures .in an unordered array ,searching is...
3 views0 comments
Abhinaw Tripathi
Jun 7, 20161 min read
Sorting Objects
Sorting Objects: For simplicity we have applied the sorting on the primitive data type.However,sorting routines will more likely be...
1 view0 comments
Abhinaw Tripathi
Jun 7, 20161 min read
Selection Sort
Selection Sort: The selection sort improves on the bubble sort by reducing the number of swaps necessary from O(N^2) to O(N)...
5 views0 comments
Abhinaw Tripathi
Jun 7, 20161 min read
Simple Bubble Sorting in Java
Simple Sorting: Sorting is very important thing in computer science because it is just a preliminary step to search sorted data.A...
7 views0 comments
Abhinaw Tripathi
Jun 7, 20161 min read
Data-Structure discussion on Arrays
What is Array? Ans: Array is the most commonly used data storage structure because they offer a convenient jumping-off place for...
3 views0 comments
bottom of page