sam rubinReduce in Java StreamIn this write up, let’s explore the “reduce” method in Java Stream. Synonyms for “reduce” include diminish, lessen, or decrease…Apr 9Apr 9
sam rubinTop 25 Java 8 Stream queGiven a list of integers, write a Java 8 stream to find the sum of all even numbers in the list.May 3, 2023May 3, 2023
sam rubinLearn Basics of AI in 6 Months.A Guide from ChatGPTAI is the current big breakthrough in the tech industry, so i was interested in learning AI and asked ChatGPT to guide me. Here are the…Mar 14, 2023Mar 14, 2023
sam rubinTop 28 Keywords to Refine Your Search In ChatGPTWe are living in a AI Assisted world, AI Assisted bots can really help us to solve many real problems but in order to solve them we need to…Mar 13, 20231Mar 13, 20231
sam rubinRender Props in ReactJSRender Props is a pattern followed in ReactJS to share the state between components. This can be acheived with the help of a prop which…Sep 12, 2022Sep 12, 2022
sam rubinWhy TypeScriptJavascript is a dynamically type language, that is Javascript engine does not check the type of the variable before executing the code…Sep 2, 2022Sep 2, 2022
sam rubinCountDownLatch In JavaThis article is a continuation to our previous article on Reentrant locks in java.Mar 20, 2022Mar 20, 2022
sam rubinInsertion SortImagine you have a sorted sequence of cards, let’s say 7 ,8 , 10, jack and king. Now you want to place card no 9 in this sorted sequence…Jan 19, 2022Jan 19, 2022
sam rubinReentrant lock in Java.This article is a continuation to our previous article extrinsic locksin java.Jan 18, 2022Jan 18, 2022
sam rubinExtrinsic locks in JAVALocks are a mechanism to restrict multiple threads accessing a shared resource (“critical section”). Lock facilitates an exclusive access…Jan 18, 2022Jan 18, 2022