top of page
Search
Abhinaw Tripathi
May 26, 20162 min read
Tutorial on Prototype Design Pattern
As the name suggests Prototype means making a clone. and Cloning is the operation of replicating an object.The cloned object the copy is...
3 views0 comments
Abhinav Tripathi
May 25, 20162 min read
Tutorial on Singleton Design Pattern
This design pattern is used when only one instance of an object is needed throughout the lifetime of an application.The singleton class...
3 views0 comments
Abhinaw Tripathi
May 25, 20161 min read
Very Common Problem on Matrix,if an element in an MXN matrix is 0,its entire row and column are set
Solution: public void setZero(int[][] matrix) { boolean[] row= new boolean[matrix.length]; boolean[] row= new...
4 views0 comments
Abhinav Tripathi
May 24, 20161 min read
Builder Design Pattern
As the name suggest it self that builds complex objects from simple one step by step and the object creation process should be generic So...
5 views0 comments
Abhinav
May 24, 20161 min read
Abstract Factory Design Pattern
Abstract Factory is a factory object that returns one of several factories.Modularization is a big issue in today's...
1 view0 comments
Abhinav Tripathi
May 24, 20161 min read
Creational Design Patterns
This design pattern is all about the class instantiation.These design patterns tries to create objects in a manner suitable to the...
7 views0 comments
Abhinav Tripathi
May 24, 20162 min read
Lets talk about Software Design-Patterns
What are Design Patterns? Design Pattern is a used and tested solution for a know problem.In simple words you can say a general reusable...
1 view0 comments
Abhinav Tripathi
May 23, 20161 min read
Which Design Pattern should be used instead of using Traditional Constructor and why?
Replace Constructor with Factory Method Pattern.Why lets take a case Suppose you have class like class Employee { Employee(int type) {...
2 views0 comments
Abhinaw
May 18, 20162 min read
Android Interview Questions for 2-5 yrs experienced
Well its not in order and not complete.will keep adding but for now i have few.... 1)How do you find memory leaks in android application?...
6 views0 comments
bottom of page