top of page
Search
Leaders in an array
An element is leader if it is greater than all the elements to its right side. And the rightmost element is always a leader. For example...

Abhinaw Tripathi
Aug 9, 20171 min read
47 views
0 comments
Exponential Search Algorithm and its implementation in java
Exponential Search It works in O(Log n) time.We have discussed, linear search, binary search for this problem. Exponential search...

Abhinaw Tripathi
Aug 8, 20172 min read
127 views
0 comments
Interpolation Search Algo
Interpolation Search Algo and its implementation in java The Interpolation Search is an improvement over Binary Search for instances,...

Abhinaw Tripathi
Aug 8, 20172 min read
6 views
0 comments
Jump Search Algorithm and Implementation in java
Jump Search A jump search or block search refers to a search algorithm for ordered lists.Like Binary Search, Jump Search is a searching...

Abhinaw Tripathi
Aug 8, 20173 min read
103 views
0 comments


Bidirectional Searching Graph Algorithm
Bidirectional Search We know our traditional searching algorithms to search for a goal vertex starting from a source vertex using...

Abhinaw Tripathi
Jun 14, 20172 min read
29 views
0 comments
Noble integers in an array or count of greater elements is equal to value java
Noble integers in an array or count of greater elements is equal to value?. Explanation: Given an array arr[], find a Noble integer in...

Abhinaw Tripathi
Jun 7, 20172 min read
370 views
0 comments


Java Memory Architecture and Garbage Collection Algorithms(Part 2)
Java Memory Model The Java memory model specifies how the Java virtual machine works with the computer's memory (RAM). The Java virtual...

Abhinaw Tripathi
May 30, 20174 min read
12 views
0 comments


Java Memory Architecture and Garbage Collection Algorithms(Part 1)
Java Memory Architecture and Garbage Collection Algorithms(Part 1) Java Memory Architecture and Garbage Collection Algorithms Peeling...

Abhinaw Tripathi
May 30, 20176 min read
46 views
0 comments
CountDownLatch in java example
CountDownLatch in Java: It is used to make sure that a task waits for other threads before it starts. To understand its application,...

Abhinaw Tripathi
May 19, 20172 min read
9 views
0 comments
Garbage Collection in Java
Garbage Collection in Java All about Garbage Collection in Java/Android. In other programming language, it is programmer’s...

Abhinaw Tripathi
May 18, 20172 min read
11 views
0 comments
Collections.reverseOrder() in Java with Examples
Collections.reverseOrder() in Java with Examples java.util.Collections.reverseOrder() method is a java.util.Collections class method. //...

Abhinaw Tripathi
May 16, 20172 min read
18 views
0 comments
Collections.shuffle() in Java with Examples
Collections.shuffle() in Java with Examples java.util.Collections.shuffle() is a java.util.Collections class method. // Shuffles...

Abhinaw Tripathi
May 16, 20171 min read
30 views
0 comments


What is the difference between HTTP & HTTPS? What is SSL?
What is the difference between HTTP & HTTPS? What is SSL? Ans: HTTP stands for Hypertext Transfer Protocol responsible for exchange of...

Abhinaw Tripathi
May 15, 20171 min read
99 views
0 comments
Microsoft Interview Question:Sort a list of 0's ,1's and 2's solution in java
Solution: Traverse the list and count the number of 0s, 1s and 2s. Let the counts be node1, node2 and node3 respectively. Traverse...

Abhinaw Tripathi
May 8, 20171 min read
6 views
0 comments
#### Android Application Design and Development Principles for Seamless Experience ####
Android Application Design and Development Principles for Seamless Experience For any application,there are some if's and but's.i mean...

Abhinaw Tripathi
May 5, 20177 min read
5 views
0 comments


Amazon Interview Question:Find the element that appears once in Java
Question: Find the element that appears once Input: arr[] = {12, 1, 12, 3, 12, 1, 1, 2, 3, 3} Output: 2 Explanation: Given an...

Abhinaw Tripathi
May 5, 20172 min read
28 views
0 comments
Amazon Interview Question:Check if a string can be obtained by rotating another string 2 places in J
Given two strings, the task is to find if a string can be obtained by rotating another string two places. Input : string1 = "amazon" ...

Abhinaw Tripathi
Apr 21, 20171 min read
27 views
0 comments
All about Java Constructors
What is a Constructor? Constructors are used to initialize the object’s state. Like methods, a constructor also contains collection of...

Abhinaw Tripathi
Apr 21, 20172 min read
7 views
0 comments
Amazon Interview Question asked: Number of subsequences of the form a^i b^j c^k solution in Java
Amazon Interview Question asked:Number of subsequences of the form a^i b^j c^k Given a string, count number of subsequences of the form...

Abhinaw Tripathi
Apr 17, 20172 min read
564 views
0 comments
Android WeChat Login Integration
Android WeChat Login: To integrate Wechat in your Android Application.you need 3 things: 1)AppId 2)Package Name 3)SH1 :Generated...
AbhinawTripathi
Apr 13, 20173 min read
1,031 views
0 comments
bottom of page