AWS DNA(Digitial Native Architects) program has been developed and introduced by DNB team of AWS Korea. They have selected 20 people from various IT companies who actively uses AWS Cloud. Shortly the goal of this program is to teach us how to use AWS as a pro. Five teams were formed out of 20 people, at the end of the course teams supposed to come up with they Case Study and Build-up a prototype that has a stable business model and could become a real startup in a future.
Gson-Fire and Gson usage
Gson Fire project contains very usefull additions to the Gson project, in order to keep your code organized and clean. Gson Fire is something that better to have, otherwise you have to implement JsonSerializer and JsonDeserializer interfaces and register TypeAdapter classes to run some additional behaviors in serialization and desirialization processes.
Rich versus Anemic Domain Model
Rich domain model, much of the domain logic implemented within the entities at the core of the application. The entities provide methods to change state and only allow changes that are valid according to the business rules. Many of the business rules are located in the entities instead of the use case implementation.
Teemo Attacking (LeetCode)
In LOL world, there is a hero called Teemo and his attacking can make his enemy Ashe be in poisoned condition. Now, given the Teemo’s attacking ascending time series towards Ashe and the poisoning time duration per Teemo’s attacking, you need to output the total time that Ashe is in poisoned condition.
Subarray Product Less Than K (LeetCode)
Your are given an array of positive integers nums. Count and print the number of (contiguous) subarrays where the product of all the elements in the subarray is less than k.
Number Of Recent Calls (LeetCode)
You have a RecentCounter class which counts the number of recent requests within a certain time frame.
Largest Number (LeetCode)
Given a list of non-negative integers nums, arrange them such that they form the largest number.
Evaluate Division (LeetCode)
You are given an array of variable pairs equations
and an array of real numbers values
, where equations[i] = [Ai, Bi]
and values[i]
represent the equation Ai / Bi = values[i]
. Each Ai
or Bi
is a string that represents a single variable.
Enum and Comparator Usage
It is important to optimally use features of the given programming language. By other words squeezing the maximum out of the language, shows the proficiency and elegancy of the code. Most of the java developers are familiar with enum and comparator. These are very useful features of the java language.
Kubernetes Resources
There are three elements of resources exists in Kubernetes, which are: CPU, Memory and Disk. By default 0.5CPU, 256mi resources are allocated per container.