Topic: "stringbuilder-class-java"
sb255/Strings
About Strings in Java!
Language: Java - Size: 476 KB - Last synced at: 16 days ago - Pushed at: over 5 years ago - Stars: 3 - Forks: 2

Faizi-alpha/Java-Core-Concepts
This Repository contains core concepts of Java.
Language: Java - Size: 36.1 KB - Last synced at: over 2 years ago - Pushed at: almost 5 years ago - Stars: 2 - Forks: 0

luismendes070/loops-e-arrays Fork of cami-la/loops-e-arrays
Repositório do curso Estruturas de Repetição e Arrays com Java. Curso este oferecido pela Digital Innovation one e ministrado por mim.
Language: Java - Size: 341 KB - Last synced at: over 1 year ago - Pushed at: about 3 years ago - Stars: 0 - Forks: 0

shivangi-975/Dynamic-2-SUM
Consider the 2-SUM problem: given an array of n integers (possibly with repetitions), and a target integer t find if there exist two distinct elements x, y in the array such that x + y = t. There are multiple approaches to find a O(n log n) solution to this problem. We would like to implement a dynamic version of this problem. In this version, you do not know the number of elements in advance. The input arrives as a sequence of operations. We start with the empty multiset S. Operations are of three types: 1. Insert(k) : Inserts a number k into S. 2. Delete(k): Deletes an instance of the key k from S. If k is not present, no change is made to the data structure. If k is present multiple times, any one instance is deleted. 3. Query (a, b): Prints the number of target values in the closed interval [a, b] such that there are distinct elements x, y in the multiset with x + y = t. Note that by “distinct” above, we mean two distinct elements of the multiset, which could have the same integer value. E.g. if S = {5, 5, 5}, then then Query (10,15) returns the answer 1, whereas Query(17,20) returns the answer 0.
Language: Java - Size: 314 KB - Last synced at: almost 2 years ago - Pushed at: over 4 years ago - Stars: 0 - Forks: 0

sumanas27/Java-String-Reverse
Language: Java - Size: 1000 Bytes - Last synced at: 5 months ago - Pushed at: about 6 years ago - Stars: 0 - Forks: 0
