There are saying that “if you understand component scan, you understand spring framework”. It is quite true since main advantage of spring framework is lies on dependency injection. To do the dependency injection the packages must be scanned for necessary beans. Obviously when the project is big (mostly multiple projects are used together) there are many beans are necessary for scan. There are two methods for bean scanning in spring:

# Couchbase health check failed

I have been facing the “Couchbase health check failed” error, which I have never seen so far:

# 3Sum Closest

Given an array *nums* of *n* integers and an integer *target*, find three integers in *nums* such that the sum is closest to target. Return the sum of the three integers. You may assume that each input would have exactly one solution. from leetcode

# Longest Palindromic Substring

This is one of the medium level problem regarding to palindromes, where we have to find longest substring palindrome of the given string.leetcode

# K-th Largest Element of Array

I have decided to describe this problem, because it is somehow has a good message for algorithm learners. Especially people who complains why should we learn the algorithms if we can just use the existing codes (or libraries) without diving into details. We need to learn algorithms to design our own by customizing them for our purpose. The purpose is usually solve more non-traditional problems which are not common. I have found this example particularly interesting.

# Algorithms, BFS - Breadth First Search

Breadth-first search systematically explores the edges of G graph to discover every vertex that is reachable from starting node S. The main purpose of BFS is to calculate the distance from S to each reachable vertex. If we are given two arbitrary nodes and asked for the distance between them, then the BFS is the standard solution. The algorithm works for both directed and un-directed graphs.

# Algorithms, Graphs and Trees

Graphs are used to represent enourmous number of real-life applications. Basically graphs contain vertices(nodes) and edges(lines that are connecting nodes). Edges may have a direction, or may exist without directions. Following figure is a simple example of undirected graph with 5 vertices.

# Continuous Delivery with Docker and Jenkins (Book Review)

It took a while to finish up this book, since it contains so many interesting topics. I would strongly recommend to service developers(especially the one who work with microservices), QAs, Infra and Engineering Managers. The books covers wide range of topics: Jenkins, Docker, Docker Swarm, Ansible, CI/CD, Automated Acceptance Testing.

# Lego Club Season-1

It has become quite common that many companies provide hobby clubs among their workers. My current company also allows us to organize the hobby clubs. Company even provides 20’000 KWN (around 20$) per month, for us to enjoy the hobby club. As I have mentioned in my previous blog about TicketMonster it had a same cultural program. It was good experience for all members of the club to work on lego blocks. Members have tried really hard, and we really had a good time while making lego together.

# Java Concurrency

The synchronized keyword ensures that only a single thread can execute a method or block at one time. It should not be confused with a mutual exclusion concept, that prevents an object from being seen in an inconsistent state by one thread while it’s being modified by another. Proper use of synchronization keyword guarantees that no method will ever observe the object in an inconsistent state.