Category Archives: Без рубрики

Algo.Java.BinarySearch

inspired by this article example of standart approach example from leetCode https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/description/

Posted in Без рубрики | Leave a comment

SQL. Conditional expression with count()

example

Posted in Без рубрики | Leave a comment

Java.Algo.CumulativeApproach

for tasks like “find count nums less than current in array” build frequency array build cumulative array count result

Posted in Без рубрики | Leave a comment

Algo.Java.BFS in BinaryTree

https://leetcode.com/problems/maximum-depth-of-n-ary-tree Example (just add nodes on each level and then handle them) https://leetcode.com/problems/average-of-levels-in-binary-tree/description/

Posted in Без рубрики | Leave a comment

Java.Jackson.Serialize object to json

Posted in Без рубрики | Leave a comment

Algo. Traverse linked list

// while // recursion

Posted in Без рубрики | Comments Off on Algo. Traverse linked list

Algo. Java. Remove-duplicates-from-sorted-array

https://github.com/psGringo/algoJava/blob/main/remove-duplicates-from-sorted-array/remove-duplicates-from-sorted-array/src/main/java/org/example/Main.java

Posted in Без рубрики | Comments Off on Algo. Java. Remove-duplicates-from-sorted-array

Java.Hibernate.SimpleExample

/resources/hibernate.properties

Posted in Без рубрики | Comments Off on Java.Hibernate.SimpleExample

Java.Jdbc.SimpleExample

build.gradle.kts Main.java

Posted in Без рубрики | Comments Off on Java.Jdbc.SimpleExample

SQL. Calc the sum with case, example

Posted in Без рубрики | Comments Off on SQL. Calc the sum with case, example