top of page
Search
Doubly Linked Lists operation example in core java
Doubly Linked List basic operation example: /** * */ /** * @author Abhinaw.Tripathi * */ class Link { public long dData; public Link...

Abhinaw Tripathi
Jun 9, 20162 min read
5 views
0 comments
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...

Abhinaw Tripathi
Jun 9, 20161 min read
3 views
0 comments
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...

Abhinaw Tripathi
Jun 9, 20161 min read
7 views
0 comments
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) ...

Abhinaw Tripathi
Jun 9, 20161 min read
3 views
0 comments
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...

Abhinaw Tripathi
Jun 8, 20161 min read
2 views
0 comments
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...

Abhinaw Tripathi
Jun 8, 20162 min read
2 views
0 comments
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...

Abhinaw Tripathi
Jun 7, 20162 min read
3 views
0 comments
Sorting Objects
Sorting Objects: For simplicity we have applied the sorting on the primitive data type.However,sorting routines will more likely be...

Abhinaw Tripathi
Jun 7, 20161 min read
1 view
0 comments
Insertion Sort
Insertion Sort: In most cases the insertion sort is the best of the elementary sorts.It still executes in O(N^2) time but its twice as...

Abhinaw Tripathi
Jun 7, 20161 min read
2 views
0 comments
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)...

Abhinaw Tripathi
Jun 7, 20161 min read
5 views
0 comments
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...

Abhinaw Tripathi
Jun 7, 20161 min read
7 views
0 comments
Continue on Data-Structures Big O Notation discussion
What is Big O Notation? In comparing algorithms you would say things like "Algorithm A is twice as fast as algorithm B " but in fact this...

Abhinaw Tripathi
Jun 7, 20162 min read
4 views
0 comments
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...

Abhinaw Tripathi
Jun 7, 20161 min read
3 views
0 comments
Java Interview Questions
1.What is difference between an Interface and Abstract Class? Ans: An abstract class can have instance method that implements a default...

Abhinaw Tripathi
Jun 6, 20164 min read
4 views
0 comments
Design a Simple Chat Server
Solution: Simple Chat Server Chat application can be described as a connection-oriented service because a user establishes a connection...

Abhinaw Tripathi
Jun 3, 20163 min read
5 views
0 comments
Design a cache mechanism which uses LRU(Least Recently Used) in java
Solution Description: The Processing costs for selecting a value from a database-table is high compared to the cost having the value...

Abhinaw Tripathi
Jun 3, 20161 min read
14 views
0 comments
Design a Cinema Management System
Solution: As we know any cinema associated with a number of theaters and each theater contains a set of rows with a number of seats and...

Abhinaw Tripathi
Jun 3, 20162 min read
3 views
0 comments
Design Library Management System?
Solution: The basic components of the library are: library items and mechanism for giving books to users.Please find the implementation...

Abhinaw Tripathi
Jun 3, 20162 min read
3 views
0 comments
Interview Question - Design a Grocery Store.
Problem: Design a Grocery Store. For this what we need is: A customer class A store Class A GroceryItem of various sorts A cashier ...

Abhinaw Tripathi
Jun 2, 20161 min read
3 views
0 comments
Simple Design Pattern Interview Questions
Problem-1: Can you explain about access specifiers in java? Answer: In java , classes,variables,methods and constructor can have access...

Abhinaw Tripathi
Jun 2, 20161 min read
3 views
0 comments
bottom of page