Skip to content
Ozan Ozenoglu

Category: Java

Spring Framework

Design Pattern : Dependency Inversion Principle

JavaPosted on October 30, 2020October 30, 2020 ozy

In object-oriented design, the dependency inversion principle is a specific form of decoupling software modules. When following this principle, the conventional dependency relationships established from high-level, policy-setting modules to…


Spring Framework

Design Pattern: interface-segregation principle (ISP)

JavaPosted on October 30, 2020October 30, 2020 ozy

In the field of software engineering, the interface-segregation principle (ISP) states that no client should be forced to depend on methods it does not use.[1] ISP splits interfaces that…


Spring Framework

Design Pattern: Open closed principle with using spesification pattern

JavaPosted on October 29, 2020October 29, 2020 ozy

In computer programming, the specification pattern is a particular software design pattern, whereby business rules can be recombined by chaining the business rules together using boolean logic. The pattern…


Spring Framework

LeetCode: Sorted Array to BST

JavaPosted on October 25, 2020October 25, 2020 ozy

Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this problem, a height-balanced binary tree is defined as a binary…


Spring Framework

LeetCode: Binary Tree Level Order Traversal

JavaPosted on October 25, 2020October 25, 2020 ozy

Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by level). For example:Given binary tree [3,9,20,null,null,15,7], 3 / \ 9 20 /…


Spring Framework

LeetCode: Symmetric Tree

JavaPosted on October 25, 2020 ozy

Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree [1,2,2,3,4,4,3] is symmetric: 1 / \ 2 2 /…


Spring Framework

LeetCode: Is valid BST

Java, UncategorizedPosted on October 25, 2020 ozy

Given a binary tree, determine if it is a valid binary search tree (BST). Assume a BST is defined as follows: The left subtree of a node contains only…


Spring Framework

LeetCode: Max depth of a tree

JavaPosted on October 25, 2020October 25, 2020 ozy

Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf…


Spring Framework

Self Recursive Generics in Java and Builder Pattern

JavaPosted on May 20, 2020 ozy

Sometimes instantiate a class might be harder with constructor than using builder pattern. Like StringBuilder we might want to construct our object with simple methods. And this is called…


Spring Framework

Java Predicates , Function and Lambda expressions

JavaPosted on May 18, 2020May 18, 2020 ozy

Like function pointers in C , we have a powerful tool in Java. We can easily extend our application by using this powerfull tools in Java. For instance, let…


Posts navigation

1 2 Next

Pages

  • Contact
  • What is Arbitrage?
  • Sign Up & Sign In
  • Portfolio / Open-Source Projects

Arbitrage Hero Android App

Arbitrage hero is a premium app for doing arbitrage operations between crypto exchange markets. It provides live rates as well as statistical data and live price information for crypto coins.

Proudly powered by WordPress | bitcoinee by

Kades Themes

.