├── .SmartGitAuto ├── 2Dmatrix(1).java ├── 2Dmatrix.java ├── ANAGRAM.java ├── APPENDSTRINGTOAFILE.java ├── ARRAYENCODING(1).java ├── ARRAYENCODING.java ├── Accessgrant.java ├── Accessrights.java ├── AddTwoIntegers.java ├── Addelementtoacollection.java ├── AdditionofTwoNumbers.java ├── AlexBirthday.java ├── AppendallelementsofotherCollectiontoVector.java ├── Area.java ├── AreaofCircle.java ├── AreaofTriangle.java ├── Arithmeticmean.java ├── ArrangingCup-cakes.java ├── Arrayofalternate+veand-veno.sarray.java ├── Average.java ├── AverageValue.java ├── BUILDING.java ├── BinaryAddition.java ├── Binarysearch.java ├── BinarytoDecimal-UserdefinedException.java ├── BladeMaster.java ├── BonApptit.java ├── BubbleSorting.java ├── BucketSort.java ├── BuyingCandies.java ├── ByteIndianGoldCoins.java ├── COMMONELEMENTS.java ├── COSTOFPAINTING.java ├── CalculateNumberofVotesReceivedByAllCandidates.java ├── CalculatetotalnumberofLeapyearbetweentwoyears.java ├── Carvans.java ├── CatDog.java ├── CatsandDogs.java ├── CheckMultiplicability.java ├── Chef-jumping.java ├── ChefAndACompleteGraph.java ├── ChefandCut.java ├── ChefandHisApartmentDues.java ├── ChefandKeyboard.java ├── ChefandTheRecursiveAlgorithm.java ├── ChefandTheRightTriangles.java ├── ChefandhisStudents.java ├── CoffeeBreaks.java ├── ColoringinHypercube.java ├── Comparetwostringslexicographically.java ├── ComplementaryDNA.java ├── ComplexNumberMultiplication.java ├── ConstructorandDestructor.java ├── Convertanarrayintocollection.java ├── CoppersmithFreivaldsAlgorithm.java ├── CountdigitsofGivennumber.java ├── Countduplicates.java ├── Countingelements.java ├── Countriesandcities.java ├── DISPLAY.java ├── Dayoftheweek.java ├── Determinant.java ├── DifferencebetweentwoFactorials(1).java ├── DifferencebetweentwoFactorials.java ├── DisariumNumber.java ├── DividingintoRegions.java ├── Divisorsnumberdivisibility.java ├── EXCEPTIONHANDLING-Trycatch.java ├── EXITCODE.java ├── EncodingofaMessageUsingMatrixMultiplicatio.java ├── EncounteredNumber.java ├── Encryptthestring.java ├── EnumerateaVector.java ├── EqualorUnequal.java ├── Equations.java ├── Equilibriumpoint.java ├── EuclidGCDAlgorithm.java ├── Evenandoddelementsinarray.java ├── Evenoccurringelements.java ├── EvilNumber.java ├── ExponentiationCommutativity.java ├── FINDDUPLICATECHARACTER.java ├── FavouriteNumbers.java ├── Fibonaccisequence.java ├── Fibonaccisequencewithstaticmethod.java ├── FindFactorisednumber.java ├── FindingSecondLargestnumber.java ├── FindingSqaureroot.java ├── FindtheOddOccurence.java ├── FirstChar.java ├── FlippingCoins.java ├── Floydstriangle.java ├── FrequencyofArrayElements.java ├── FrontBack.java ├── GapFillerGame.java ├── GenerateArmstrongnumbersuptoN.java ├── GenerateDateBetweenGivenRange.java ├── GenerateFibonacciSerieswithinainterval.java ├── GetlowestandhighestkeyofTreeMap.java ├── Ghappy.java ├── GlassMeasurement.java ├── Goodgalaxy.java ├── HandlingStringIndexOutofBoundException.java ├── HashMap-Iterator.java ├── HexatoDecimal.java ├── HowToOperateaRobot.java ├── HybridInheritanceforStudentMarkList-Total.java ├── IDandSHIP.java ├── INCREASINGORDER.java ├── INCREASINGSEQUENCE.java ├── Inheritance.java ├── InsertallelementsofotherCollectiontoSpecifiedIndexofVector.java ├── InsertionSort.java ├── InsertionSorting.java ├── IntegerSequences.java ├── JavaOutputFormatting.java ├── JewelsandStones.java ├── Keypadtypingstring.java ├── LEASTFREQUENTDIGIT.java ├── LUDecompositionofanyMatrix.java ├── LengthofLastWord.java ├── LibraryFine.java ├── Listthenumbers.java ├── LittleElephantandPermutations.java ├── MATRIX.java ├── MAXandMin.java ├── MOTHERCLASS.java ├── MULTIPLEINHERITENCE1.java ├── MapAB.java ├── MapAB3.java ├── MapBefore.java ├── Matrixaddition.java ├── Matrixmultiplication.java ├── MaxBlocks.java ├── Maximumproductoftwonumbersarray.java ├── MergeSorting.java ├── MillerRabinPrimalityTest.java ├── Mini-MaxSum.java ├── MishaandGym.java ├── MostFrequentWord.java ├── MostOccurance.java ├── MovingBetweenfloors.java ├── MultilevelInheritance.java ├── MultilevelInheritanceforStudentMarklist(1).java ├── MultilevelInheritanceforStudentMarklist.java ├── MultipleInheritance.java ├── Naor-ReingoldPseudoRandomFunction.java ├── NewRestaurant.java ├── Nexthighernumberinoneswap.java ├── NoUnpairedChefs.java ├── NothinginCommon.java ├── NuclearReactors.java ├── NumberOfFactors.java ├── NumberPattern3.java ├── NumberSequence.java ├── Numberofoccurrence.java ├── Numberofpairs.java ├── OddBinomialCoefficients.java ├── OnlineCommunities-EvenGroups.java ├── OptimizeWireLength.java ├── Override-Method.java ├── PATTERN(1).java ├── PATTERN.java ├── PATTERN1-CL2.java ├── PATTERN2-CL2.java ├── PATTERNS(1).java ├── PATTERNS-L7.java ├── PATTERNS-L8.java ├── PATTERNS.java ├── PERIMETER.java ├── PINGENERATION(1).java ├── PINGENERATION(2).java ├── PINGENERATION.java ├── PairwiseANDsum.java ├── Palindrome.java ├── ParameterisedConstructor.java ├── PayslipGeneration.java ├── PeacefulCalculator.java ├── PerfectNumber.java ├── Permutationsofagivenstringrecursion.java ├── PermutingTwoArrays.java ├── Pointsintriangle.java ├── Possiblegroupsarray.java ├── PrimeGenerator.java ├── Primenumberinanarray.java ├── PrintThird.java ├── ProductofOddIntegers.java ├── PronicNumber.java ├── PruningTrees.java ├── PuppyandSum.java ├── QuickSort.java ├── README.md ├── RECTANGLE(1).java ├── RECTANGLE.java ├── REVERSEANARRAY.java ├── RadiusofEarth.java ├── RearrangeArrayAlternatelyarray.java ├── Removeaspecificelementfromacollection.java ├── Repeatedsumofdigit.java ├── ReverseaString.java ├── Reverseacollection.java ├── Reverseorderofwords.java ├── Reverseword.java ├── RotateArraybynelements.java ├── RotatingSingleword.java ├── SHAPECLASS(1).java ├── SHAPECLASS.java ├── SHAPES.java ├── SMALLESTPAIR.java ├── STRING.java ├── STRINGARRAY(1).java ├── STRINGARRAY.java ├── STRINGBUFFERCLASS.java ├── STRINGCONVERSION9.java ├── STRINGREVERSING.java ├── STRINGSWAP.java ├── SUMofallintegers.java ├── SalaryCalculator.java ├── SalesPersonProblem.java ├── SavethePrisoner!.java ├── SelectionSorting.java ├── SerejaandStones.java ├── Serejaandtwostrings.java ├── SetMaxValuetoFibonacciSeries.java ├── SetStartingvalueandNtimestoFibonacciSeries.java ├── Shapes.java ├── ShoelaceAlgorithm.java ├── ShuntingYardAlgorithm.java ├── SimpleCalculator.java ├── SimpleInterest.java ├── SinesSumQueries.java ├── SingleLevelInheritance-Rectangle.java ├── SmallestandLargestSubString.java ├── Smallestdistinctwindow.java ├── SolvemeFirst.java ├── Sorting.java ├── Sortingnames.java ├── SteinGCDAlgorithm.java ├── Sticks.java ├── StringEncryption.java ├── Stringconversion.java ├── Studentgrade.java ├── SumdigitsofGivennumber.java ├── SummerMango.java ├── SumofDigitsDivisibility.java ├── Sumofalldigits.java ├── Sumofpositivenumbers.java ├── Sumoftwonumbers.java ├── Sumoftwonumbersinsinglelevelinheritance(1).java ├── Sumoftwonumbersinsinglelevelinheritance.java ├── SumsinaTriangle.java ├── SuperReducedString.java ├── Swapkthelementsarray.java ├── Swapmethodwithoutusingthirdvariable.java ├── Swappingtwonumberswithoutusingthirdvariable.java ├── TAXCALCULATOR.java ├── TaskforAlexey(1).java ├── TaskforAlexey.java ├── TestScoresusingExceptionalHanding.java ├── TheBlackandWhiteKnights.java ├── TheBritishandAmericanStyleofSpelling.java ├── TheBytelandianUnion.java ├── TheNewRestaurant.java ├── Thepowerfulsum.java ├── Topping1.java ├── Topping2.java ├── Tweedle-DeeandTweedle-Dum.java ├── TypeCastingproblem.java ├── UncleJohny.java ├── UnitsofTime-Reversed.java ├── UnitsofTime.java ├── UserDefinedException-Age.java ├── UserDefinedException.java ├── UserId.java ├── UserdefinedException-TestScore.java ├── Validatingnumber-Float.java ├── VotesbyStaticmethod.java ├── Weapons.java ├── WifiPasswordGeneration.java ├── XortestPath.java ├── ZombieWorld.java ├── calculateareaofrectangle.java ├── checkArmstrongnumber.java ├── countingnumberofdigits(1).java ├── countingnumberofdigits.java ├── decimalintoabinarynumberusingstack.java ├── dividedbythesumofitsdigit.java ├── missingnumberistobefound.java ├── programcount.java ├── readme_assets └── logo.png ├── singleinheritance(1).java └── singleinheritance.java /.SmartGitAuto: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /ANAGRAM.java: -------------------------------------------------------------------------------- 1 | //Q. 68: 2 | //ANAGRAM(Strings) 3 | /* 4 | Anagram Program In Java Using sort() and equals() Methods 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /Ghappy.java: -------------------------------------------------------------------------------- 1 | //Q. 70: 2 | //Ghappy(Strings) 3 | /* 4 | We'll say that a lowercase 'g' in a string is "happy" if there is another 'g' immediately to its left or right. Return true if all the g's in the given string are happy. 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /MATRIX.java: -------------------------------------------------------------------------------- 1 | //Q. 34: 2 | //MATRIX(Arrays) 3 | /* 4 | Write a program for Matrix (Two Dimensional Array) Creation in Java 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /MaxBlocks.java: -------------------------------------------------------------------------------- 1 | //Q. 69: 2 | //MaxBlocks(Strings) 3 | /* 4 | Given a string, return the length of the largest "block" in the string. A block is a run of adjacent chars that are the same. 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /Palindrome.java: -------------------------------------------------------------------------------- 1 | //Q. 59: 2 | //Palindrome(Methods) 3 | /* 4 | Write a java program that checks whether a given string is a palindrome or not 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 |

re-frame logo

4 | 5 | ## Java Elab Solutions 6 | 7 | [![Java](https://img.shields.io/badge/java-java%2015.0.2%202021/01/19-97C93C?labelColor=283C67&logo=java&style=for-the-badge)](https://www.java.com/en/) 8 | [![Intellij IDEA](https://img.shields.io/badge/IntelliJ%20IDEA-Version:%202020.3.3-97C93C?labelColor=283C67&logo=Intellij%20IDEA&style=for-the-badge)](https://www.jetbrains.com/idea/) 9 | 10 | 11 | ## Description 12 | 13 | Java Elab is a collection of Java Programs in SRM IST ELab. Each program is named with its ```questionname``` without space. The solutions consist of Question Number, Session, Question Desription and Code. If you like this repository, consider giving a ⭐ to [this repo](https://github.com/Abhijith14/JavaElab). 14 | 15 | ## References 16 | 17 | SRM IST Elab Website can be found [here](https://care.srmist.edu.in). 18 | 19 | -------------------------------------------------------------------------------- /STRINGARRAY.java: -------------------------------------------------------------------------------- 1 | //Q. 31: 2 | //STRINGARRAY(Arrays) 3 | /* 4 | Java String Array Contains Example 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /STRINGSWAP.java: -------------------------------------------------------------------------------- 1 | //Q. 67: 2 | //STRINGSWAP(Strings) 3 | /* 4 | Java Program To Swap Two String Variables Without Using Third Variable 5 | */ 6 | 7 | -------------------------------------------------------------------------------- /readme_assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Abhijith14/JavaElab/0252609d36fd9eed783c3f3ab6675eb16a2f30f6/readme_assets/logo.png --------------------------------------------------------------------------------