TorBT - Torrents and Magnet Links Search Engine

Anghel Leonard - The Complete Coding Interview Guide in Java - 2020

File Name
Size
Anghel Leonard - The Complete Coding Interview Guide in Java - 2020.epub
15 MB
Anghel Leonard - The Complete Coding Interview Guide in Java - 2020.pdf
6.5 MB
Code/LICENSE
1.0 kB
Code/README.md
3.7 kB
Code/Chapter06/README.md
262 B
Code/Chapter06/Abstraction/AbstractionViaAbstractClass/pom.xml
719 B
Code/Chapter06/Abstraction/AbstractionViaAbstractClass/src/main/java/coding/challenge/Car.java
472 B
Code/Chapter06/Abstraction/AbstractionViaAbstractClass/src/main/java/coding/challenge/ElectricCar.java
573 B
Code/Chapter06/Abstraction/AbstractionViaAbstractClass/src/main/java/coding/challenge/Main.java
572 B
Code/Chapter06/Abstraction/AbstractionViaAbstractClass/src/main/java/coding/challenge/PetrolCar.java
570 B
Code/Chapter06/Abstraction/AbstractionViaInterface/pom.xml
670 B
Code/Chapter06/Abstraction/AbstractionViaInterface/src/main/java/coding/challenge/Car.java
205 B
Code/Chapter06/Abstraction/AbstractionViaInterface/src/main/java/coding/challenge/ElectricCar.java
721 B
Code/Chapter06/Abstraction/AbstractionViaInterface/src/main/java/coding/challenge/Main.java
572 B
Code/Chapter06/Abstraction/AbstractionViaInterface/src/main/java/coding/challenge/PetrolCar.java
689 B
Code/Chapter06/Aggregation/pom.xml
687 B
Code/Chapter06/Aggregation/src/main/java/coding/challenge/Main.java
374 B
Code/Chapter06/Aggregation/src/main/java/coding/challenge/Racket.java
665 B
Code/Chapter06/Aggregation/src/main/java/coding/challenge/TennisPlayer.java
525 B
Code/Chapter06/Association/pom.xml
687 B
Code/Chapter06/Association/src/main/java/coding/challenge/Address.java
460 B
Code/Chapter06/Association/src/main/java/coding/challenge/Main.java
805 B
Code/Chapter06/Association/src/main/java/coding/challenge/Person.java
273 B
Code/Chapter06/CircularByteBuffer/pom.xml
702 B
Code/Chapter06/CircularByteBuffer/src/main/java/coding/challenge/CircularByteBuffer.java
4.2 kB
Code/Chapter06/CircularByteBuffer/src/main/java/coding/challenge/Main.java
512 B
Code/Chapter06/Composition/pom.xml
687 B
Code/Chapter06/Composition/src/main/java/coding/challenge/Car.java
413 B
Code/Chapter06/Composition/src/main/java/coding/challenge/Engine.java
527 B
Code/Chapter06/Composition/src/main/java/coding/challenge/Main.java
214 B
Code/Chapter06/CovariantMethodOverriding/pom.xml
715 B
Code/Chapter06/CovariantMethodOverriding/src/main/java/coding/challenge/Main.java
335 B
Code/Chapter06/CovariantMethodOverriding/src/main/java/coding/challenge/Rectangle.java
537 B
Code/Chapter06/DeckOfCards/DeckOfCardsUML.png
77 kB
Code/Chapter06/DeckOfCards/pom.xml
688 B
Code/Chapter06/DeckOfCards/README.md
159 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/Main.java
694 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/card/Card.java
712 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/card/Pack.java
423 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/card/StandardCard.java
399 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/card/StandardPack.java
638 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/card/StandardSuit.java
103 B
Code/Chapter06/DeckOfCards/src/main/java/coding/challenge/deck/Deck.java
925 B
Code/Chapter06/DependencyInversionPrinciple/pom.xml
721 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/Main.java
905 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/bad/ConnectToDatabase.java
194 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/bad/PostgreSQLJdbcUrl.java
272 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/good/ConnectToDatabase.java
179 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/good/JdbcUrl.java
91 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/good/MySQLJdbcUrl.java
291 B
Code/Chapter06/DependencyInversionPrinciple/src/main/java/coding/challenge/good/PostgreSQLJdbcUrl.java
306 B
Code/Chapter06/Encapsulation/pom.xml
691 B
Code/Chapter06/Encapsulation/src/main/java/coding/challenge/Cat.java
731 B
Code/Chapter06/Encapsulation/src/main/java/coding/challenge/Main.java
401 B
Code/Chapter06/FileSystem/FileSystemUML.png
59 kB
Code/Chapter06/FileSystem/pom.xml
686 B
Code/Chapter06/FileSystem/README.md
153 B
Code/Chapter06/FileSystem/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter06/FileSystem/src/main/java/coding/challenge/filesystem/Directory.java
564 B
Code/Chapter06/FileSystem/src/main/java/coding/challenge/filesystem/File.java
465 B
Code/Chapter06/FileSystem/src/main/java/coding/challenge/filesystem/Item.java
951 B
Code/Chapter06/HashTable/pom.xml
684 B
Code/Chapter06/HashTable/src/main/java/coding/challenge/HashTable.java
1.6 kB
Code/Chapter06/HashTable/src/main/java/coding/challenge/Main.java
1.2 kB
Code/Chapter06/Inheritance/pom.xml
687 B
Code/Chapter06/Inheritance/src/main/java/coding/challenge/Employee.java
292 B
Code/Chapter06/Inheritance/src/main/java/coding/challenge/Main.java
332 B
Code/Chapter06/Inheritance/src/main/java/coding/challenge/Programmer.java
332 B
Code/Chapter06/InterfaceSegregationPrinciple/pom.xml
723 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/Main.java
699 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/bad/Connection.java
143 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/bad/WwwPingConnection.java
592 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/good/Connection.java
92 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/good/HttpConnection.java
116 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/good/SocketConnection.java
120 B
Code/Chapter06/InterfaceSegregationPrinciple/src/main/java/coding/challenge/good/WwwPingConnection.java
417 B
Code/Chapter06/Java8DefaultStaticMethods/pom.xml
715 B
Code/Chapter06/Java8DefaultStaticMethods/src/main/java/coding/challenge/ElectricCar.java
772 B
Code/Chapter06/Java8DefaultStaticMethods/src/main/java/coding/challenge/Main.java
586 B
Code/Chapter06/Java8DefaultStaticMethods/src/main/java/coding/challenge/PetrolCar.java
616 B
Code/Chapter06/Java8DefaultStaticMethods/src/main/java/coding/challenge/SteamCar.java
440 B
Code/Chapter06/Java8DefaultStaticMethods/src/main/java/coding/challenge/Vehicle.java
373 B
Code/Chapter06/Jukebox/JukeboxUML.png
132 kB
Code/Chapter06/Jukebox/pom.xml
681 B
Code/Chapter06/Jukebox/README.md
145 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/Main.java
1014 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/jukebox/CD.java
316 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/jukebox/CDPlayer.java
701 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/jukebox/Jukebox.java
644 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/jukebox/Playlist.java
811 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/jukebox/Selector.java
266 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/jukebox/Song.java
402 B
Code/Chapter06/Jukebox/src/main/java/coding/challenge/user/User.java
279 B
Code/Chapter06/LiskovSubstitutionPrinciple/pom.xml
719 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/Main.java
1.8 kB
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/bad/FreeMember.java
562 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/bad/Member.java
254 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/bad/PremiumMember.java
406 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/bad/VipMember.java
382 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/good/FreeMember.java
310 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/good/Member.java
214 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/good/PremiumMember.java
407 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/good/TournamentJoiner.java
109 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/good/TournamentOrganizer.java
116 B
Code/Chapter06/LiskovSubstitutionPrinciple/src/main/java/coding/challenge/good/VipMember.java
383 B
Code/Chapter06/MethodHiding/pom.xml
689 B
Code/Chapter06/MethodHiding/src/main/java/coding/challenge/Car.java
191 B
Code/Chapter06/MethodHiding/src/main/java/coding/challenge/Main.java
192 B
Code/Chapter06/MethodHiding/src/main/java/coding/challenge/Vehicle.java
139 B
Code/Chapter06/MethodOverloding/pom.xml
697 B
Code/Chapter06/MethodOverloding/src/main/java/coding/challenge/Foo.java
823 B
Code/Chapter06/MethodOverloding/src/main/java/coding/challenge/Main.java
264 B
Code/Chapter06/MethodOverriding/pom.xml
697 B
Code/Chapter06/MethodOverriding/src/main/java/coding/challenge/Main.java
534 B
Code/Chapter06/MethodOverriding/src/main/java/coding/challenge/inheritance/Child.java
255 B
Code/Chapter06/MethodOverriding/src/main/java/coding/challenge/inheritance/Parent.java
153 B
Code/Chapter06/MethodOverriding/src/main/java/coding/challenge/polymorphism/Base.java
90 B
Code/Chapter06/MethodOverriding/src/main/java/coding/challenge/polymorphism/Concrete.java
189 B
Code/Chapter06/MovieTicketBooking/MovieTicketBookingUML.png
520 kB
Code/Chapter06/MovieTicketBooking/pom.xml
702 B
Code/Chapter06/MovieTicketBooking/README.md
179 B
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/Main.java
1.0 kB
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/cinema/Cinema.java
3.9 kB
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/cinema/CinemaRoom.java
4.2 kB
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/cinema/Movie.java
1.6 kB
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/cinema/MovieTicket.java
1.3 kB
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/cinema/Seat.java
795 B
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/cinema/SeatType.java
256 B
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/ticketing/MovieTicketing.java
522 B
Code/Chapter06/MovieTicketBooking/src/main/java/coding/challenge/ticketing/MovieTicketingMachine.java
2.0 kB
Code/Chapter06/OnlineReaderSystem/OnlineReaderSystemUML.png
162 kB
Code/Chapter06/OnlineReaderSystem/pom.xml
702 B
Code/Chapter06/OnlineReaderSystem/README.md
178 B
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/Main.java
648 B
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/reader/Book.java
1.2 kB
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/reader/Displayer.java
1.0 kB
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/reader/Library.java
445 B
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/reader/OnlineReaderSystem.java
1.7 kB
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/reader/Reader.java
1.3 kB
Code/Chapter06/OnlineReaderSystem/src/main/java/coding/challenge/reader/ReaderManager.java
485 B
Code/Chapter06/OpenClosedPrinciple/pom.xml
703 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/Main.java
1.3 kB
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/bad/AreaCalculator.java
742 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/bad/Circle.java
239 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/bad/Rectangle.java
370 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/bad/Shape.java
62 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/good/AreaCalculator.java
368 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/good/Circle.java
267 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/good/Rectangle.java
316 B
Code/Chapter06/OpenClosedPrinciple/src/main/java/coding/challenge/good/Shape.java
91 B
Code/Chapter06/OverloadingException/pom.xml
703 B
Code/Chapter06/OverloadingException/src/main/java/coding/challenge/Clazz.java
590 B
Code/Chapter06/OverloadingException/src/main/java/coding/challenge/Main.java
525 B
Code/Chapter06/OverridingException/pom.xml
703 B
Code/Chapter06/OverridingException/src/main/java/coding/challenge/Child.java
644 B
Code/Chapter06/OverridingException/src/main/java/coding/challenge/Main.java
738 B
Code/Chapter06/OverridingException/src/main/java/coding/challenge/Parent.java
399 B
Code/Chapter06/ParkingLot/ParkingLotUML.png
239 kB
Code/Chapter06/ParkingLot/pom.xml
686 B
Code/Chapter06/ParkingLot/README.md
154 B
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/Main.java
2.0 kB
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/ParkingFloor.java
5.3 kB
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/ParkingLot.java
1.9 kB
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/ParkingSpot.java
1.3 kB
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/ParkingTicket.java
1.1 kB
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/Vehicle.java
1.7 kB
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/VehicleType.java
290 B
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/system/Parking.java
400 B
Code/Chapter06/ParkingLot/src/main/java/coding/challenge/parking/system/ParkingSystem.java
1.5 kB
Code/Chapter06/Polymorphism/CompileTime/pom.xml
687 B
Code/Chapter06/Polymorphism/CompileTime/src/main/java/coding/challenge/Main.java
246 B
Code/Chapter06/Polymorphism/CompileTime/src/main/java/coding/challenge/Triangle.java
445 B
Code/Chapter06/Polymorphism/Runtime/pom.xml
679 B
Code/Chapter06/Polymorphism/Runtime/src/main/java/coding/challenge/Circle.java
164 B
Code/Chapter06/Polymorphism/Runtime/src/main/java/coding/challenge/Main.java
299 B
Code/Chapter06/Polymorphism/Runtime/src/main/java/coding/challenge/Rectangle.java
170 B
Code/Chapter06/Polymorphism/Runtime/src/main/java/coding/challenge/Shape.java
79 B
Code/Chapter06/Polymorphism/Runtime/src/main/java/coding/challenge/Triangle.java
168 B
Code/Chapter06/SingleResponsibilityPrinciple/pom.xml
723 B
Code/Chapter06/SingleResponsibilityPrinciple/src/main/java/coding/challenge/Main.java
1021 B
Code/Chapter06/SingleResponsibilityPrinciple/src/main/java/coding/challenge/bad/RectangleAreaCalculator.java
663 B
Code/Chapter06/SingleResponsibilityPrinciple/src/main/java/coding/challenge/good/AreaConverter.java
342 B
Code/Chapter06/SingleResponsibilityPrinciple/src/main/java/coding/challenge/good/RectangleAreaCalculator.java
335 B
Code/Chapter06/Tuple/pom.xml
676 B
Code/Chapter06/Tuple/src/main/java/coding/challenge/Main.java
234 B
Code/Chapter06/Tuple/src/main/java/coding/challenge/Pair.java
646 B
Code/Chapter06/VendingMachine/pom.xml
694 B
Code/Chapter06/VendingMachine/README.md
165 B
Code/Chapter06/VendingMachine/VendingMachineUML.png
125 kB
Code/Chapter06/VendingMachine/src/main/java/coding/challenge/Main.java
219 B
Code/Chapter06/VendingMachine/src/main/java/coding/challenge/vending/machine/Coin.java
316 B
Code/Chapter06/VendingMachine/src/main/java/coding/challenge/vending/machine/Inventory.java
572 B
Code/Chapter06/VendingMachine/src/main/java/coding/challenge/vending/machine/Item.java
426 B
Code/Chapter06/VendingMachine/src/main/java/coding/challenge/vending/machine/Selector.java
315 B
Code/Chapter06/VendingMachine/src/main/java/coding/challenge/vending/machine/VendingMachine.java
1.6 kB
Code/Chapter08/README.md
232 B
Code/Chapter08/Braces/pom.xml
678 B
Code/Chapter08/Braces/src/main/java/coding/challenge/Braces.java
1.1 kB
Code/Chapter08/Braces/src/main/java/coding/challenge/Main.java
247 B
Code/Chapter08/Coins/pom.xml
676 B
Code/Chapter08/Coins/src/main/java/coding/challenge/Coins.java
1.7 kB
Code/Chapter08/Coins/src/main/java/coding/challenge/Main.java
277 B
Code/Chapter08/ColorSpots/pom.xml
687 B
Code/Chapter08/ColorSpots/src/main/java/coding/challenge/BiggestColorSpot.java
1.6 kB
Code/Chapter08/ColorSpots/src/main/java/coding/challenge/Main.java
879 B
Code/Chapter08/FiveTowers/pom.xml
685 B
Code/Chapter08/FiveTowers/src/main/java/coding/challenge/FiveTower.java
1.8 kB
Code/Chapter08/FiveTowers/src/main/java/coding/challenge/Main.java
475 B
Code/Chapter08/HanoiTowers/pom.xml
687 B
Code/Chapter08/HanoiTowers/src/main/java/coding/challenge/Hanoi.java
840 B
Code/Chapter08/HanoiTowers/src/main/java/coding/challenge/Main.java
296 B
Code/Chapter08/HighestColoredTower/pom.xml
704 B
Code/Chapter08/HighestColoredTower/src/main/java/coding/challenge/Box.java
830 B
Code/Chapter08/HighestColoredTower/src/main/java/coding/challenge/Main.java
805 B
Code/Chapter08/HighestColoredTower/src/main/java/coding/challenge/Tower.java
3.1 kB
Code/Chapter08/Josephus/pom.xml
682 B
Code/Chapter08/Josephus/src/main/java/coding/challenge/Josephus.java
1.2 kB
Code/Chapter08/Josephus/src/main/java/coding/challenge/Main.java
412 B
Code/Chapter08/KnightTour/pom.xml
686 B
Code/Chapter08/KnightTour/src/main/java/coding/challenge/KnightTour.java
2.0 kB
Code/Chapter08/KnightTour/src/main/java/coding/challenge/Main.java
483 B
Code/Chapter08/MagicIndex/pom.xml
686 B
Code/Chapter08/MagicIndex/src/main/java/coding/challenge/MagicIndex.java
1.2 kB
Code/Chapter08/MagicIndex/src/main/java/coding/challenge/Main.java
358 B
Code/Chapter08/Permutations/pom.xml
690 B
Code/Chapter08/Permutations/src/main/java/coding/challenge/DuplicatePermutation.java
990 B
Code/Chapter08/Permutations/src/main/java/coding/challenge/Main.java
721 B
Code/Chapter08/Permutations/src/main/java/coding/challenge/NoDuplicatePermutation.java
1.7 kB
Code/Chapter08/Permutations/src/main/java/coding/challenge/SimplePermutation.java
741 B
Code/Chapter08/RobotGridAllPaths/pom.xml
700 B
Code/Chapter08/RobotGridAllPaths/src/main/java/coding/challenge/Main.java
430 B
Code/Chapter08/RobotGridAllPaths/src/main/java/coding/challenge/RobotGrid.java
1.4 kB
Code/Chapter08/RobotGridMaze/pom.xml
692 B
Code/Chapter08/RobotGridMaze/src/main/java/coding/challenge/Main.java
1.3 kB
Code/Chapter08/RobotGridMaze/src/main/java/coding/challenge/RobotGrid.java
2.3 kB
Code/Chapter08/Staircase/pom.xml
684 B
Code/Chapter08/Staircase/src/main/java/coding/challenge/Main.java
411 B
Code/Chapter08/Staircase/src/main/java/coding/challenge/Staircase.java
906 B
Code/Chapter08/SubsetSum/pom.xml
684 B
Code/Chapter08/SubsetSum/src/main/java/coding/challenge/Main.java
433 B
Code/Chapter08/SubsetSum/src/main/java/coding/challenge/Subsets.java
3.5 kB
Code/Chapter08/TheFallingBall/pom.xml
693 B
Code/Chapter08/TheFallingBall/src/main/java/coding/challenge/FallingBall.java
1.3 kB
Code/Chapter08/TheFallingBall/src/main/java/coding/challenge/Main.java
1.3 kB
Code/Chapter08/WordBreak/pom.xml
683 B
Code/Chapter08/WordBreak/src/main/java/coding/challenge/Main.java
2.0 kB
Code/Chapter08/WordBreak/src/main/java/coding/challenge/Trie.java
2.1 kB
Code/Chapter08/WordBreak/src/main/java/coding/challenge/Words.java
2.3 kB
Code/Chapter09/README.md
261 B
Code/Chapter09/CheckEquality/pom.xml
691 B
Code/Chapter09/CheckEquality/src/main/java/coding/challenge/Bits.java
254 B
Code/Chapter09/CheckEquality/src/main/java/coding/challenge/Main.java
563 B
Code/Chapter09/ClearBits/pom.xml
684 B
Code/Chapter09/ClearBits/src/main/java/coding/challenge/Bits.java
613 B
Code/Chapter09/ClearBits/src/main/java/coding/challenge/Main.java
645 B
Code/Chapter09/ComputeModuloDivision/pom.xml
707 B
Code/Chapter09/ComputeModuloDivision/src/main/java/coding/challenge/Bits.java
258 B
Code/Chapter09/ComputeModuloDivision/src/main/java/coding/challenge/Main.java
446 B
Code/Chapter09/Conversion/pom.xml
686 B
Code/Chapter09/Conversion/src/main/java/coding/challenge/Bits.java
572 B
Code/Chapter09/Conversion/src/main/java/coding/challenge/Main.java
371 B
Code/Chapter09/DividingBinaries/pom.xml
698 B
Code/Chapter09/DividingBinaries/src/main/java/coding/challenge/Bits.java
1.6 kB
Code/Chapter09/DividingBinaries/src/main/java/coding/challenge/Main.java
792 B
Code/Chapter09/FindDuplicates/pom.xml
694 B
Code/Chapter09/FindDuplicates/src/main/java/coding/challenge/Bits.java
595 B
Code/Chapter09/FindDuplicates/src/main/java/coding/challenge/Main.java
218 B
Code/Chapter09/FloatToBinaryAndBack/pom.xml
705 B
Code/Chapter09/FloatToBinaryAndBack/src/main/java/coding/challenge/Bits.java
2.5 kB
Code/Chapter09/FloatToBinaryAndBack/src/main/java/coding/challenge/Main.java
534 B
Code/Chapter09/GetBitValue/pom.xml
687 B
Code/Chapter09/GetBitValue/src/main/java/coding/challenge/Bits.java
490 B
Code/Chapter09/GetBitValue/src/main/java/coding/challenge/Main.java
355 B
Code/Chapter09/LongestSequence/pom.xml
696 B
Code/Chapter09/LongestSequence/src/main/java/coding/challenge/Bits.java
867 B
Code/Chapter09/LongestSequence/src/main/java/coding/challenge/Main.java
365 B
Code/Chapter09/MultiplyingBinaries/pom.xml
704 B
Code/Chapter09/MultiplyingBinaries/src/main/java/coding/challenge/Bits.java
614 B
Code/Chapter09/MultiplyingBinaries/src/main/java/coding/challenge/Main.java
420 B
Code/Chapter09/NextNumber/pom.xml
686 B
Code/Chapter09/NextNumber/src/main/java/coding/challenge/Bits.java
1.5 kB
Code/Chapter09/NextNumber/src/main/java/coding/challenge/Main.java
531 B
Code/Chapter09/NumberWithOneInLR/pom.xml
699 B
Code/Chapter09/NumberWithOneInLR/src/main/java/coding/challenge/Bits.java
255 B
Code/Chapter09/NumberWithOneInLR/src/main/java/coding/challenge/Main.java
310 B
Code/Chapter09/OddEven/pom.xml
679 B
Code/Chapter09/OddEven/src/main/java/coding/challenge/Bits.java
238 B
Code/Chapter09/OddEven/src/main/java/coding/challenge/Main.java
720 B
Code/Chapter09/OnceTwiceThrice/pom.xml
696 B
Code/Chapter09/OnceTwiceThrice/src/main/java/coding/challenge/Elements.java
1.6 kB
Code/Chapter09/OnceTwiceThrice/src/main/java/coding/challenge/Main.java
325 B
Code/Chapter09/PositionOfFirstBitOfOne/pom.xml
712 B
Code/Chapter09/PositionOfFirstBitOfOne/src/main/java/coding/challenge/Bits.java
545 B
Code/Chapter09/PositionOfFirstBitOfOne/src/main/java/coding/challenge/Main.java
205 B
Code/Chapter09/PowerSetOfSet/pom.xml
692 B
Code/Chapter09/PowerSetOfSet/src/main/java/coding/challenge/Main.java
291 B
Code/Chapter09/PowerSetOfSet/src/main/java/coding/challenge/Sets.java
1.0 kB
Code/Chapter09/ReplaceBits/pom.xml
688 B
Code/Chapter09/ReplaceBits/src/main/java/coding/challenge/Bits.java
841 B
Code/Chapter09/ReplaceBits/src/main/java/coding/challenge/Main.java
732 B
Code/Chapter09/RotateBits/pom.xml
686 B
Code/Chapter09/RotateBits/src/main/java/coding/challenge/Bits.java
714 B
Code/Chapter09/RotateBits/src/main/java/coding/challenge/Main.java
633 B
Code/Chapter09/SetBitValue/pom.xml
688 B
Code/Chapter09/SetBitValue/src/main/java/coding/challenge/Bits.java
585 B
Code/Chapter09/SetBitValue/src/main/java/coding/challenge/Main.java
828 B
Code/Chapter09/SubtractingBinaries/pom.xml
703 B
Code/Chapter09/SubtractingBinaries/src/main/java/coding/challenge/Bits.java
593 B
Code/Chapter09/SubtractingBinaries/src/main/java/coding/challenge/Main.java
436 B
Code/Chapter09/SummingBinaries/pom.xml
695 B
Code/Chapter09/SummingBinaries/src/main/java/coding/challenge/Bits.java
630 B
Code/Chapter09/SummingBinaries/src/main/java/coding/challenge/Main.java
430 B
Code/Chapter09/SwapOddEven/pom.xml
688 B
Code/Chapter09/SwapOddEven/src/main/java/coding/challenge/Bits.java
462 B
Code/Chapter09/SwapOddEven/src/main/java/coding/challenge/Main.java
350 B
Code/Chapter09/SwapTwoIntegers/pom.xml
695 B
Code/Chapter09/SwapTwoIntegers/src/main/java/coding/challenge/Bits.java
397 B
Code/Chapter09/SwapTwoIntegers/src/main/java/coding/challenge/Main.java
206 B
Code/Chapter09/TwoNonRepeating/pom.xml
696 B
Code/Chapter09/TwoNonRepeating/src/main/java/coding/challenge/Bits.java
1.0 kB
Code/Chapter09/TwoNonRepeating/src/main/java/coding/challenge/Main.java
210 B
Code/Chapter10/README.md
92 B
Code/Chapter10/BestTimeToBuySellStock/pom.xml
710 B
Code/Chapter10/BestTimeToBuySellStock/src/main/java/coding/challenge/Main.java
858 B
Code/Chapter10/BestTimeToBuySellStock/src/main/java/coding/challenge/Stocks.java
2.6 kB
Code/Chapter10/ContainerMostWater/pom.xml
702 B
Code/Chapter10/ContainerMostWater/src/main/java/coding/challenge/Containers.java
1.5 kB
Code/Chapter10/ContainerMostWater/src/main/java/coding/challenge/Main.java
370 B
Code/Chapter10/CountDistinctAbsoluteSortedArray/pom.xml
729 B
Code/Chapter10/CountDistinctAbsoluteSortedArray/src/main/java/coding/challenge/Arrays.java
1.2 kB
Code/Chapter10/CountDistinctAbsoluteSortedArray/src/main/java/coding/challenge/Main.java
402 B
Code/Chapter10/CountDistinctInSubarray/pom.xml
711 B
Code/Chapter10/CountDistinctInSubarray/src/main/java/coding/challenge/Arrays.java
1.7 kB
Code/Chapter10/CountDistinctInSubarray/src/main/java/coding/challenge/Main.java
317 B
Code/Chapter10/CountScore3510/pom.xml
693 B
Code/Chapter10/CountScore3510/src/main/java/coding/challenge/Main.java
213 B
Code/Chapter10/CountScore3510/src/main/java/coding/challenge/Scores.java
599 B
Code/Chapter10/DuplicatesInArray/pom.xml
700 B
Code/Chapter10/DuplicatesInArray/src/main/java/coding/challenge/Arrays.java
3.1 kB
Code/Chapter10/DuplicatesInArray/src/main/java/coding/challenge/Main.java
727 B
Code/Chapter10/EncodedString/pom.xml
691 B
Code/Chapter10/EncodedString/src/main/java/coding/challenge/Main.java
405 B
Code/Chapter10/EncodedString/src/main/java/coding/challenge/Strings.java
1.3 kB
Code/Chapter10/ExtractIntegers/pom.xml
695 B
Code/Chapter10/ExtractIntegers/src/main/java/coding/challenge/Main.java
311 B
Code/Chapter10/ExtractIntegers/src/main/java/coding/challenge/Strings.java
1009 B
Code/Chapter10/ExtractSurrogatePairs/pom.xml
707 B
Code/Chapter10/ExtractSurrogatePairs/src/main/java/coding/challenge/Main.java
934 B
Code/Chapter10/ExtractSurrogatePairs/src/main/java/coding/challenge/Strings.java
1.0 kB
Code/Chapter10/FindPairsSumEqualK/pom.xml
702 B
Code/Chapter10/FindPairsSumEqualK/src/main/java/coding/challenge/Arrays.java
874 B
Code/Chapter10/FindPairsSumEqualK/src/main/java/coding/challenge/Main.java
337 B
Code/Chapter10/LongestConsecutiveSequence/pom.xml
718 B
Code/Chapter10/LongestConsecutiveSequence/src/main/java/coding/challenge/Main.java
315 B
Code/Chapter10/LongestConsecutiveSequence/src/main/java/coding/challenge/Sequences.java
1.2 kB
Code/Chapter10/LongestDistinctSubstring/pom.xml
713 B
Code/Chapter10/LongestDistinctSubstring/src/main/java/coding/challenge/Main.java
325 B
Code/Chapter10/LongestDistinctSubstring/src/main/java/coding/challenge/Strings.java
1.5 kB
Code/Chapter10/MatrixWithZeros/pom.xml
696 B
Code/Chapter10/MatrixWithZeros/src/main/java/coding/challenge/Arrays.java
2.2 kB
Code/Chapter10/MatrixWithZeros/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter10/MaximumInCircularArray/pom.xml
710 B
Code/Chapter10/MaximumInCircularArray/src/main/java/coding/challenge/Arrays.java
785 B
Code/Chapter10/MaximumInCircularArray/src/main/java/coding/challenge/Main.java
336 B
Code/Chapter10/MaxMatrixOfOne/pom.xml
694 B
Code/Chapter10/MaxMatrixOfOne/src/main/java/coding/challenge/Main.java
466 B
Code/Chapter10/MaxMatrixOfOne/src/main/java/coding/challenge/Matrices.java
2.7 kB
Code/Chapter10/MedianOfSortedArrays/pom.xml
706 B
Code/Chapter10/MedianOfSortedArrays/src/main/java/coding/challenge/Arrays.java
2.4 kB
Code/Chapter10/MedianOfSortedArrays/src/main/java/coding/challenge/Main.java
487 B
Code/Chapter10/MergeIntervals/pom.xml
694 B
Code/Chapter10/MergeIntervals/src/main/java/coding/challenge/Arrays.java
3.2 kB
Code/Chapter10/MergeIntervals/src/main/java/coding/challenge/Interval.java
276 B
Code/Chapter10/MergeIntervals/src/main/java/coding/challenge/Main.java
750 B
Code/Chapter10/MergeKSortedArr/pom.xml
696 B
Code/Chapter10/MergeKSortedArr/src/main/java/coding/challenge/Main.java
406 B
Code/Chapter10/MergeKSortedArr/src/main/java/coding/challenge/MergeArrays.java
2.4 kB
Code/Chapter10/MergeKSortedArr/src/main/java/coding/challenge/MinHeap.java
368 B
Code/Chapter10/MinimumInCircularArray/pom.xml
710 B
Code/Chapter10/MinimumInCircularArray/src/main/java/coding/challenge/Arrays.java
760 B
Code/Chapter10/MinimumInCircularArray/src/main/java/coding/challenge/Main.java
336 B
Code/Chapter10/OneEditAway/pom.xml
688 B
Code/Chapter10/OneEditAway/src/main/java/coding/challenge/Main.java
246 B
Code/Chapter10/OneEditAway/src/main/java/coding/challenge/Strings.java
1.3 kB
Code/Chapter10/PetrolBunks/pom.xml
688 B
Code/Chapter10/PetrolBunks/src/main/java/coding/challenge/Bunks.java
978 B
Code/Chapter10/PetrolBunks/src/main/java/coding/challenge/Main.java
302 B
Code/Chapter10/ReplaceElementWithRank/pom.xml
709 B
Code/Chapter10/ReplaceElementWithRank/src/main/java/coding/challenge/Arrays.java
796 B
Code/Chapter10/ReplaceElementWithRank/src/main/java/coding/challenge/Main.java
387 B
Code/Chapter10/RotateArrayKTimes/pom.xml
699 B
Code/Chapter10/RotateArrayKTimes/src/main/java/coding/challenge/Arrays.java
355 B
Code/Chapter10/RotateArrayKTimes/src/main/java/coding/challenge/Main.java
370 B
Code/Chapter10/RotateMatrix/pom.xml
690 B
Code/Chapter10/RotateMatrix/src/main/java/coding/challenge/Arrays.java
3.5 kB
Code/Chapter10/RotateMatrix/src/main/java/coding/challenge/Main.java
1.9 kB
Code/Chapter10/RotateString/pom.xml
690 B
Code/Chapter10/RotateString/src/main/java/coding/challenge/Main.java
305 B
Code/Chapter10/RotateString/src/main/java/coding/challenge/Strings.java
533 B
Code/Chapter10/SearchInCircularArray/pom.xml
708 B
Code/Chapter10/SearchInCircularArray/src/main/java/coding/challenge/Arrays.java
1.4 kB
Code/Chapter10/SearchInCircularArray/src/main/java/coding/challenge/Main.java
390 B
Code/Chapter10/StringShrinker/pom.xml
693 B
Code/Chapter10/StringShrinker/src/main/java/coding/challenge/Main.java
305 B
Code/Chapter10/StringShrinker/src/main/java/coding/challenge/Strings.java
1.4 kB
Code/Chapter10/ThreeStacksInOneArray/pom.xml
708 B
Code/Chapter10/ThreeStacksInOneArray/src/main/java/coding/challenge/Main.java
1.6 kB
Code/Chapter10/ThreeStacksInOneArray/src/main/java/coding/challenge/StackNode.java
308 B
Code/Chapter10/ThreeStacksInOneArray/src/main/java/coding/challenge/ThreeStack.java
2.7 kB
Code/Chapter10/ThreeStacksInOneArray/src/main/java/coding/challenge/exception/OverflowException.java
342 B
Code/Chapter10/ThreeStacksInOneArray/src/main/java/coding/challenge/exception/UnderflowException.java
345 B
Code/Chapter10/ThreeStacksInOneArrayFixed/pom.xml
718 B
Code/Chapter10/ThreeStacksInOneArrayFixed/src/main/java/coding/challenge/Main.java
1.5 kB
Code/Chapter10/ThreeStacksInOneArrayFixed/src/main/java/coding/challenge/ThreeStack.java
2.3 kB
Code/Chapter10/ThreeStacksInOneArrayFixed/src/main/java/coding/challenge/exception/OverflowException.java
343 B
Code/Chapter10/ThreeStacksInOneArrayFixed/src/main/java/coding/challenge/exception/UnderflowException.java
346 B
Code/Chapter10/TrapRainWater/pom.xml
691 B
Code/Chapter10/TrapRainWater/src/main/java/coding/challenge/Bars.java
2.9 kB
Code/Chapter10/TrapRainWater/src/main/java/coding/challenge/Main.java
732 B
Code/Chapter10/UniqueCharacters/pom.xml
698 B
Code/Chapter10/UniqueCharacters/src/main/java/coding/challenge/Main.java
662 B
Code/Chapter10/UniqueCharacters/src/main/java/coding/challenge/Strings.java
1.0 kB
Code/Chapter10/UniqueCharactersAZ/pom.xml
702 B
Code/Chapter10/UniqueCharactersAZ/src/main/java/coding/challenge/Main.java
442 B
Code/Chapter10/UniqueCharactersAZ/src/main/java/coding/challenge/Strings.java
696 B
Code/Chapter11/README.md
149 B
Code/Chapter11/DoublyLinkedList/pom.xml
698 B
Code/Chapter11/DoublyLinkedList/src/main/java/coding/challenge/DoublyLinkedList.java
7.4 kB
Code/Chapter11/DoublyLinkedList/src/main/java/coding/challenge/Main.java
1.5 kB
Code/Chapter11/DoublyLinkedListOneHead/pom.xml
712 B
Code/Chapter11/DoublyLinkedListOneHead/src/main/java/coding/challenge/DoublyLinkedList.java
6.5 kB
Code/Chapter11/DoublyLinkedListOneHead/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter11/DoublyLinkedListReverse/pom.xml
713 B
Code/Chapter11/DoublyLinkedListReverse/src/main/java/coding/challenge/DoublyLinkedList.java
1.5 kB
Code/Chapter11/DoublyLinkedListReverse/src/main/java/coding/challenge/Main.java
514 B
Code/Chapter11/LinkedListLoopDetection/pom.xml
712 B
Code/Chapter11/LinkedListLoopDetection/src/main/java/coding/challenge/Main.java
561 B
Code/Chapter11/LinkedListLoopDetection/src/main/java/coding/challenge/SinglyLinkedList.java
2.8 kB
Code/Chapter11/LinkedListMergeNSortedRecursion/pom.xml
729 B
Code/Chapter11/LinkedListMergeNSortedRecursion/src/main/java/coding/challenge/Main.java
917 B
Code/Chapter11/LinkedListMergeNSortedRecursion/src/main/java/coding/challenge/SinglyLinkedList.java
2.1 kB
Code/Chapter11/LinkedListMergeTwoSorted/pom.xml
714 B
Code/Chapter11/LinkedListMergeTwoSorted/src/main/java/coding/challenge/Main.java
655 B
Code/Chapter11/LinkedListMergeTwoSorted/src/main/java/coding/challenge/SinglyLinkedList.java
1.8 kB
Code/Chapter11/LinkedListMergeTwoSortedRecursion/pom.xml
732 B
Code/Chapter11/LinkedListMergeTwoSortedRecursion/src/main/java/coding/challenge/Main.java
655 B
Code/Chapter11/LinkedListMergeTwoSortedRecursion/src/main/java/coding/challenge/SinglyLinkedList.java
1.4 kB
Code/Chapter11/LinkedListMoveLastToFront/pom.xml
715 B
Code/Chapter11/LinkedListMoveLastToFront/src/main/java/coding/challenge/Main.java
495 B
Code/Chapter11/LinkedListMoveLastToFront/src/main/java/coding/challenge/SinglyLinkedList.java
1.8 kB
Code/Chapter11/LinkedListNthToLastNode/pom.xml
712 B
Code/Chapter11/LinkedListNthToLastNode/src/main/java/coding/challenge/Main.java
850 B
Code/Chapter11/LinkedListNthToLastNode/src/main/java/coding/challenge/SinglyLinkedList.java
2.6 kB
Code/Chapter11/LinkedListPairwiseSwap/pom.xml
710 B
Code/Chapter11/LinkedListPairwiseSwap/src/main/java/coding/challenge/Main.java
691 B
Code/Chapter11/LinkedListPairwiseSwap/src/main/java/coding/challenge/SinglyLinkedList.java
2.2 kB
Code/Chapter11/LinkedListPalindrome/pom.xml
706 B
Code/Chapter11/LinkedListPalindrome/src/main/java/coding/challenge/Main.java
498 B
Code/Chapter11/LinkedListPalindrome/src/main/java/coding/challenge/SinglyLinkedList.java
1.9 kB
Code/Chapter11/LinkedListRearranging/pom.xml
708 B
Code/Chapter11/LinkedListRearranging/src/main/java/coding/challenge/Main.java
688 B
Code/Chapter11/LinkedListRearranging/src/main/java/coding/challenge/SinglyLinkedList.java
1.5 kB
Code/Chapter11/LinkedListRemoveDuplicates/pom.xml
718 B
Code/Chapter11/LinkedListRemoveDuplicates/src/main/java/coding/challenge/Main.java
818 B
Code/Chapter11/LinkedListRemoveDuplicates/src/main/java/coding/challenge/SinglyLinkedList.java
2.3 kB
Code/Chapter11/LinkedListRemoveRedundantPath/pom.xml
723 B
Code/Chapter11/LinkedListRemoveRedundantPath/src/main/java/coding/challenge/Main.java
613 B
Code/Chapter11/LinkedListRemoveRedundantPath/src/main/java/coding/challenge/SinglyLinkedList.java
1.7 kB
Code/Chapter11/LinkedListsIntersection/pom.xml
712 B
Code/Chapter11/LinkedListsIntersection/src/main/java/coding/challenge/Main.java
333 B
Code/Chapter11/LinkedListsIntersection/src/main/java/coding/challenge/SinglyLinkedList.java
3.8 kB
Code/Chapter11/LinkedListSum/pom.xml
692 B
Code/Chapter11/LinkedListSum/src/main/java/coding/challenge/Main.java
596 B
Code/Chapter11/LinkedListSum/src/main/java/coding/challenge/SinglyLinkedList.java
2.0 kB
Code/Chapter11/LRUCache/pom.xml
683 B
Code/Chapter11/LRUCache/src/main/java/coding/challenge/LRUCache.java
2.8 kB
Code/Chapter11/LRUCache/src/main/java/coding/challenge/Main.java
1.2 kB
Code/Chapter11/Map/pom.xml
672 B
Code/Chapter11/Map/src/main/java/coding/challenge/Main.java
395 B
Code/Chapter11/Map/src/main/java/coding/challenge/MyMap.java
2.7 kB
Code/Chapter11/NutsAndBolts/pom.xml
691 B
Code/Chapter11/NutsAndBolts/src/main/java/coding/challenge/Main.java
266 B
Code/Chapter11/NutsAndBolts/src/main/java/coding/challenge/NutsBolts.java
1.3 kB
Code/Chapter11/ReverseLinkedListInGroups/pom.xml
716 B
Code/Chapter11/ReverseLinkedListInGroups/src/main/java/coding/challenge/Main.java
534 B
Code/Chapter11/ReverseLinkedListInGroups/src/main/java/coding/challenge/SinglyLinkedList.java
1.6 kB
Code/Chapter11/SinglyLinkedList/pom.xml
697 B
Code/Chapter11/SinglyLinkedList/src/main/java/coding/challenge/Main.java
1.2 kB
Code/Chapter11/SinglyLinkedList/src/main/java/coding/challenge/SinglyLinkedList.java
6.5 kB
Code/Chapter11/SinglyLinkedListOneHead/pom.xml
711 B
Code/Chapter11/SinglyLinkedListOneHead/src/main/java/coding/challenge/Main.java
1.2 kB
Code/Chapter11/SinglyLinkedListOneHead/src/main/java/coding/challenge/SinglyLinkedList.java
5.9 kB
Code/Chapter12/README.md
281 B
Code/Chapter12/MinStackConstantTime/pom.xml
706 B
Code/Chapter12/MinStackConstantTime/src/main/java/coding/challenge/Main.java
527 B
Code/Chapter12/MinStackConstantTime/src/main/java/coding/challenge/MyStack.java
742 B
Code/Chapter12/MinStackConstantTimeAndSpace/pom.xml
722 B
Code/Chapter12/MinStackConstantTimeAndSpace/src/main/java/coding/challenge/Main.java
956 B
Code/Chapter12/MinStackConstantTimeAndSpace/src/main/java/coding/challenge/MyStack.java
987 B
Code/Chapter12/MyQueue/pom.xml
679 B
Code/Chapter12/MyQueue/src/main/java/coding/challenge/Main.java
1.5 kB
Code/Chapter12/MyQueue/src/main/java/coding/challenge/MyQueue.java
2.8 kB
Code/Chapter12/MyStack/pom.xml
679 B
Code/Chapter12/MyStack/src/main/java/coding/challenge/Main.java
1.4 kB
Code/Chapter12/MyStack/src/main/java/coding/challenge/MyStack.java
2.0 kB
Code/Chapter12/QueueIslands/pom.xml
690 B
Code/Chapter12/QueueIslands/src/main/java/coding/challenge/Main.java
797 B
Code/Chapter12/QueueIslands/src/main/java/coding/challenge/Queues.java
2.3 kB
Code/Chapter12/QueueViaStack/pom.xml
692 B
Code/Chapter12/QueueViaStack/src/main/java/coding/challenge/Main.java
1.4 kB
Code/Chapter12/QueueViaStack/src/main/java/coding/challenge/MyQueueViaStack.java
848 B
Code/Chapter12/ShortestSafeRoute/pom.xml
700 B
Code/Chapter12/ShortestSafeRoute/src/main/java/coding/challenge/Main.java
947 B
Code/Chapter12/ShortestSafeRoute/src/main/java/coding/challenge/Sensors.java
4.0 kB
Code/Chapter12/SmallestNumber/pom.xml
694 B
Code/Chapter12/SmallestNumber/src/main/java/coding/challenge/Main.java
176 B
Code/Chapter12/SmallestNumber/src/main/java/coding/challenge/Numbers.java
1.0 kB
Code/Chapter12/StackBraces/pom.xml
688 B
Code/Chapter12/StackBraces/src/main/java/coding/challenge/Main.java
455 B
Code/Chapter12/StackBraces/src/main/java/coding/challenge/StackBraces.java
1.0 kB
Code/Chapter12/StackHistogramArea/pom.xml
702 B
Code/Chapter12/StackHistogramArea/src/main/java/coding/challenge/Main.java
268 B
Code/Chapter12/StackHistogramArea/src/main/java/coding/challenge/Stacks.java
1.4 kB
Code/Chapter12/StackOfPlates/pom.xml
692 B
Code/Chapter12/StackOfPlates/src/main/java/coding/challenge/Main.java
600 B
Code/Chapter12/StackOfPlates/src/main/java/coding/challenge/MyStack.java
2.5 kB
Code/Chapter12/StackReverseString/pom.xml
701 B
Code/Chapter12/StackReverseString/src/main/java/coding/challenge/Main.java
233 B
Code/Chapter12/StackReverseString/src/main/java/coding/challenge/Stacks.java
710 B
Code/Chapter12/StackViaQueue/pom.xml
692 B
Code/Chapter12/StackViaQueue/src/main/java/coding/challenge/Main.java
1.8 kB
Code/Chapter12/StackViaQueue/src/main/java/coding/challenge/MyStackViaQueue.java
1.7 kB
Code/Chapter12/StockSpan/pom.xml
684 B
Code/Chapter12/StockSpan/src/main/java/coding/challenge/Main.java
415 B
Code/Chapter12/StockSpan/src/main/java/coding/challenge/StockSpan.java
1.4 kB
Code/Chapter13/README.md
343 B
Code/Chapter13/AVLTreeImpl/pom.xml
687 B
Code/Chapter13/AVLTreeImpl/src/main/java/coding/challenge/AVLTree.java
5.1 kB
Code/Chapter13/AVLTreeImpl/src/main/java/coding/challenge/Main.java
504 B
Code/Chapter13/BinarySearchTreeDuplicates/pom.xml
717 B
Code/Chapter13/BinarySearchTreeDuplicates/src/main/java/coding/challenge/BinarySearchTree.java
4.6 kB
Code/Chapter13/BinarySearchTreeDuplicates/src/main/java/coding/challenge/Main.java
1.8 kB
Code/Chapter13/BinarySearchTreeKthLargestElement/pom.xml
732 B
Code/Chapter13/BinarySearchTreeKthLargestElement/src/main/java/coding/challenge/BinarySearchTree.java
1.9 kB
Code/Chapter13/BinarySearchTreeKthLargestElement/src/main/java/coding/challenge/Main.java
659 B
Code/Chapter13/BinarySearchTreeSuccessor/pom.xml
716 B
Code/Chapter13/BinarySearchTreeSuccessor/src/main/java/coding/challenge/BinarySearchTree.java
5.3 kB
Code/Chapter13/BinarySearchTreeSuccessor/src/main/java/coding/challenge/Main.java
530 B
Code/Chapter13/BinarySearchTreeSum/pom.xml
704 B
Code/Chapter13/BinarySearchTreeSum/src/main/java/coding/challenge/BinarySearchTree.java
3.8 kB
Code/Chapter13/BinarySearchTreeSum/src/main/java/coding/challenge/Main.java
799 B
Code/Chapter13/BinarySearchTreeTraversal/pom.xml
715 B
Code/Chapter13/BinarySearchTreeTraversal/src/main/java/coding/challenge/BinarySearchTree.java
13 kB
Code/Chapter13/BinarySearchTreeTraversal/src/main/java/coding/challenge/Main.java
2.2 kB
Code/Chapter13/BinaryTreeBalanced/pom.xml
702 B
Code/Chapter13/BinaryTreeBalanced/src/main/java/coding/challenge/BinaryTree.java
3.2 kB
Code/Chapter13/BinaryTreeBalanced/src/main/java/coding/challenge/Main.java
854 B
Code/Chapter13/BinaryTreeCommonAncestor/pom.xml
714 B
Code/Chapter13/BinaryTreeCommonAncestor/src/main/java/coding/challenge/BinaryTree.java
3.1 kB
Code/Chapter13/BinaryTreeCommonAncestor/src/main/java/coding/challenge/Main.java
651 B
Code/Chapter13/BinaryTreeDistanceFromLeaf/pom.xml
718 B
Code/Chapter13/BinaryTreeDistanceFromLeaf/src/main/java/coding/challenge/BinaryTree.java
2.6 kB
Code/Chapter13/BinaryTreeDistanceFromLeaf/src/main/java/coding/challenge/Main.java
205 B
Code/Chapter13/BinaryTreeIsBST/pom.xml
696 B
Code/Chapter13/BinaryTreeIsBST/src/main/java/coding/challenge/BinaryTree.java
2.8 kB
Code/Chapter13/BinaryTreeIsBST/src/main/java/coding/challenge/Main.java
692 B
Code/Chapter13/BinaryTreeLandingReservation/pom.xml
722 B
Code/Chapter13/BinaryTreeLandingReservation/src/main/java/coding/challenge/BinarySearchTree.java
2.0 kB
Code/Chapter13/BinaryTreeLandingReservation/src/main/java/coding/challenge/Main.java
798 B
Code/Chapter13/BinaryTreeMaxPathSum/pom.xml
708 B
Code/Chapter13/BinaryTreeMaxPathSum/src/main/java/coding/challenge/BinaryTree.java
2.1 kB
Code/Chapter13/BinaryTreeMaxPathSum/src/main/java/coding/challenge/Main.java
771 B
Code/Chapter13/BinaryTreePrintCorners/pom.xml
710 B
Code/Chapter13/BinaryTreePrintCorners/src/main/java/coding/challenge/BinaryTree.java
2.7 kB
Code/Chapter13/BinaryTreePrintCorners/src/main/java/coding/challenge/Main.java
649 B
Code/Chapter13/BinaryTreePrintDiagonal/pom.xml
711 B
Code/Chapter13/BinaryTreePrintDiagonal/src/main/java/coding/challenge/BinaryTree.java
4.0 kB
Code/Chapter13/BinaryTreePrintDiagonal/src/main/java/coding/challenge/Main.java
978 B
Code/Chapter13/BinaryTreeRightView/pom.xml
704 B
Code/Chapter13/BinaryTreeRightView/src/main/java/coding/challenge/BinaryTree.java
3.3 kB
Code/Chapter13/BinaryTreeRightView/src/main/java/coding/challenge/Main.java
363 B
Code/Chapter13/BinaryTreeSpiralTraversal/pom.xml
716 B
Code/Chapter13/BinaryTreeSpiralTraversal/src/main/java/coding/challenge/BinaryTree.java
6.9 kB
Code/Chapter13/BinaryTreeSpiralTraversal/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter13/BinaryTreeSubtree/pom.xml
700 B
Code/Chapter13/BinaryTreeSubtree/src/main/java/coding/challenge/BinaryTree.java
2.2 kB
Code/Chapter13/BinaryTreeSubtree/src/main/java/coding/challenge/Main.java
899 B
Code/Chapter13/BinaryTreeTraversal/pom.xml
703 B
Code/Chapter13/BinaryTreeTraversal/src/main/java/coding/challenge/BinaryTree.java
12 kB
Code/Chapter13/BinaryTreeTraversal/src/main/java/coding/challenge/Main.java
1020 B
Code/Chapter13/BinaryTreeVerticalSum/pom.xml
708 B
Code/Chapter13/BinaryTreeVerticalSum/src/main/java/coding/challenge/BinaryTree.java
2.6 kB
Code/Chapter13/BinaryTreeVerticalSum/src/main/java/coding/challenge/Main.java
194 B
Code/Chapter13/ChessKnight/pom.xml
688 B
Code/Chapter13/ChessKnight/src/main/java/coding/challenge/ChessKnight.java
2.9 kB
Code/Chapter13/ChessKnight/src/main/java/coding/challenge/Main.java
281 B
Code/Chapter13/DirectedGraphPath/pom.xml
699 B
Code/Chapter13/DirectedGraphPath/src/main/java/coding/challenge/Graph.java
2.0 kB
Code/Chapter13/DirectedGraphPath/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter13/GraphAdjacencyListTraversal/pom.xml
719 B
Code/Chapter13/GraphAdjacencyListTraversal/src/main/java/coding/challenge/Graph.java
4.5 kB
Code/Chapter13/GraphAdjacencyListTraversal/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter13/GraphAdjacencyMatrixTraversal/pom.xml
723 B
Code/Chapter13/GraphAdjacencyMatrixTraversal/src/main/java/coding/challenge/Graph.java
4.6 kB
Code/Chapter13/GraphAdjacencyMatrixTraversal/src/main/java/coding/challenge/Main.java
1.0 kB
Code/Chapter13/GraphTopologicalSort/pom.xml
706 B
Code/Chapter13/GraphTopologicalSort/src/main/java/coding/challenge/Graph.java
1.8 kB
Code/Chapter13/GraphTopologicalSort/src/main/java/coding/challenge/Main.java
702 B
Code/Chapter13/HeapConnectRopes/pom.xml
698 B
Code/Chapter13/HeapConnectRopes/src/main/java/coding/challenge/Main.java
310 B
Code/Chapter13/HeapConnectRopes/src/main/java/coding/challenge/MinHeap.java
3.9 kB
Code/Chapter13/IsSymmetricBinaryTree/pom.xml
709 B
Code/Chapter13/IsSymmetricBinaryTree/src/main/java/coding/challenge/BinaryTree.java
3.2 kB
Code/Chapter13/IsSymmetricBinaryTree/src/main/java/coding/challenge/Main.java
648 B
Code/Chapter13/ListPerBinaryTreeLevel/pom.xml
709 B
Code/Chapter13/ListPerBinaryTreeLevel/src/main/java/coding/challenge/BinaryTree.java
3.1 kB
Code/Chapter13/ListPerBinaryTreeLevel/src/main/java/coding/challenge/Main.java
664 B
Code/Chapter13/MaxHeap/pom.xml
679 B
Code/Chapter13/MaxHeap/src/main/java/coding/challenge/Main.java
969 B
Code/Chapter13/MaxHeap/src/main/java/coding/challenge/MaxHeap.java
4.3 kB
Code/Chapter13/MaxHeapToMinHeap/pom.xml
698 B
Code/Chapter13/MaxHeapToMinHeap/src/main/java/coding/challenge/Heaps.java
2.8 kB
Code/Chapter13/MaxHeapToMinHeap/src/main/java/coding/challenge/Main.java
848 B
Code/Chapter13/MirrorBinaryTree/pom.xml
699 B
Code/Chapter13/MirrorBinaryTree/src/main/java/coding/challenge/BinaryTree.java
4.4 kB
Code/Chapter13/MirrorBinaryTree/src/main/java/coding/challenge/Main.java
2.2 kB
Code/Chapter13/RedBlackTreeImpl/pom.xml
697 B
Code/Chapter13/RedBlackTreeImpl/src/main/java/coding/challenge/Main.java
491 B
Code/Chapter13/RedBlackTreeImpl/src/main/java/coding/challenge/RedBlackTree.java
9.5 kB
Code/Chapter13/SortedArrayToMinBinarySearchTree/pom.xml
730 B
Code/Chapter13/SortedArrayToMinBinarySearchTree/src/main/java/coding/challenge/BinarySearchTree.java
3.4 kB
Code/Chapter13/SortedArrayToMinBinarySearchTree/src/main/java/coding/challenge/Main.java
962 B
Code/Chapter13/TwoBinaryTreesAreIsomorphic/pom.xml
720 B
Code/Chapter13/TwoBinaryTreesAreIsomorphic/src/main/java/coding/challenge/BinaryTree.java
2.9 kB
Code/Chapter13/TwoBinaryTreesAreIsomorphic/src/main/java/coding/challenge/Main.java
256 B
Code/Chapter14/README.md
414 B
Code/Chapter14/BinarySearch/pom.xml
689 B
Code/Chapter14/BinarySearch/src/main/java/coding/challenge/BinarySearch.java
2.0 kB
Code/Chapter14/BinarySearch/src/main/java/coding/challenge/Main.java
597 B
Code/Chapter14/BucketSort/pom.xml
685 B
Code/Chapter14/BucketSort/src/main/java/coding/challenge/BucketSort.java
2.5 kB
Code/Chapter14/BucketSort/src/main/java/coding/challenge/Main.java
670 B
Code/Chapter14/FindNearestMinimum/pom.xml
702 B
Code/Chapter14/FindNearestMinimum/src/main/java/coding/challenge/Finds.java
946 B
Code/Chapter14/FindNearestMinimum/src/main/java/coding/challenge/Main.java
256 B
Code/Chapter14/GroupSortAnagrams/pom.xml
700 B
Code/Chapter14/GroupSortAnagrams/src/main/java/coding/challenge/Anagrams.java
2.4 kB
Code/Chapter14/GroupSortAnagrams/src/main/java/coding/challenge/Main.java
802 B
Code/Chapter14/HeapSort/pom.xml
681 B
Code/Chapter14/HeapSort/src/main/java/coding/challenge/HeapSort.java
2.8 kB
Code/Chapter14/HeapSort/src/main/java/coding/challenge/Main.java
1004 B
Code/Chapter14/HeapSort/src/main/java/coding/challenge/Melon.java
431 B
Code/Chapter14/InterspersedEmptyStrings/pom.xml
714 B
Code/Chapter14/InterspersedEmptyStrings/src/main/java/coding/challenge/Main.java
749 B
Code/Chapter14/InterspersedEmptyStrings/src/main/java/coding/challenge/Strings.java
1.6 kB
Code/Chapter14/MaxDiffBetweenTwoElements/pom.xml
716 B
Code/Chapter14/MaxDiffBetweenTwoElements/src/main/java/coding/challenge/Arrays.java
600 B
Code/Chapter14/MaxDiffBetweenTwoElements/src/main/java/coding/challenge/Main.java
257 B
Code/Chapter14/MergeSort/pom.xml
683 B
Code/Chapter14/MergeSort/src/main/java/coding/challenge/Main.java
432 B
Code/Chapter14/MergeSort/src/main/java/coding/challenge/MergeSort.java
1.4 kB
Code/Chapter14/MergeSortDoublyLinkedList/pom.xml
716 B
Code/Chapter14/MergeSortDoublyLinkedList/src/main/java/coding/challenge/DoublyLinkedList.java
3.0 kB
Code/Chapter14/MergeSortDoublyLinkedList/src/main/java/coding/challenge/Main.java
630 B
Code/Chapter14/MergeSortSinglyLinkedList/pom.xml
716 B
Code/Chapter14/MergeSortSinglyLinkedList/src/main/java/coding/challenge/Main.java
668 B
Code/Chapter14/MergeSortSinglyLinkedList/src/main/java/coding/challenge/SinglyLinkedList.java
3.2 kB
Code/Chapter14/MergeTwoSortedArrays/pom.xml
706 B
Code/Chapter14/MergeTwoSortedArrays/src/main/java/coding/challenge/Main.java
404 B
Code/Chapter14/MergeTwoSortedArrays/src/main/java/coding/challenge/SortArrays.java
967 B
Code/Chapter14/PeaksAndValleys/pom.xml
696 B
Code/Chapter14/PeaksAndValleys/src/main/java/coding/challenge/Main.java
376 B
Code/Chapter14/PeaksAndValleys/src/main/java/coding/challenge/PeaksValleys.java
1.3 kB
Code/Chapter14/PositionOfFirstOne/pom.xml
702 B
Code/Chapter14/PositionOfFirstOne/src/main/java/coding/challenge/Arrays.java
710 B
Code/Chapter14/PositionOfFirstOne/src/main/java/coding/challenge/Main.java
259 B
Code/Chapter14/QuickSort/pom.xml
683 B
Code/Chapter14/QuickSort/src/main/java/coding/challenge/Main.java
1.0 kB
Code/Chapter14/QuickSort/src/main/java/coding/challenge/Melon.java
431 B
Code/Chapter14/QuickSort/src/main/java/coding/challenge/QuickSort.java
1.8 kB
Code/Chapter14/RadixSort/pom.xml
683 B
Code/Chapter14/RadixSort/src/main/java/coding/challenge/Main.java
450 B
Code/Chapter14/RadixSort/src/main/java/coding/challenge/RadixSort.java
1.6 kB
Code/Chapter14/RankInStream/pom.xml
689 B
Code/Chapter14/RankInStream/src/main/java/coding/challenge/Main.java
1.4 kB
Code/Chapter14/RankInStream/src/main/java/coding/challenge/Stream.java
1.8 kB
Code/Chapter14/SearchInFullSortedMatrix/pom.xml
714 B
Code/Chapter14/SearchInFullSortedMatrix/src/main/java/coding/challenge/Main.java
380 B
Code/Chapter14/SearchInFullSortedMatrix/src/main/java/coding/challenge/Matrices.java
969 B
Code/Chapter14/SearchInSortedMatrix/pom.xml
706 B
Code/Chapter14/SearchInSortedMatrix/src/main/java/coding/challenge/Main.java
1.3 kB
Code/Chapter14/SearchInSortedMatrix/src/main/java/coding/challenge/Matrices.java
1.6 kB
Code/Chapter14/SortArrayBasedOnAnotherArray/pom.xml
721 B
Code/Chapter14/SortArrayBasedOnAnotherArray/src/main/java/coding/challenge/Main.java
420 B
Code/Chapter14/SortArrayBasedOnAnotherArray/src/main/java/coding/challenge/Sorts.java
1.7 kB
Code/Chapter14/SortArraysIn14Ways/pom.xml
701 B
Code/Chapter14/SortArraysIn14Ways/src/main/java/coding/challenge/ArraySorts.java
18 kB
Code/Chapter14/SortArraysIn14Ways/src/main/java/coding/challenge/Main.java
11 kB
Code/Chapter14/SortArraysIn14Ways/src/main/java/coding/challenge/Melon.java
431 B
Code/Chapter14/SortQueueViaTempQueue/pom.xml
710 B
Code/Chapter14/SortQueueViaTempQueue/src/main/java/coding/challenge/Main.java
571 B
Code/Chapter14/SortQueueViaTempQueue/src/main/java/coding/challenge/Queues.java
2.1 kB
Code/Chapter14/SortQueueWithoutExtraSpace/pom.xml
720 B
Code/Chapter14/SortQueueWithoutExtraSpace/src/main/java/coding/challenge/Main.java
656 B
Code/Chapter14/SortQueueWithoutExtraSpace/src/main/java/coding/challenge/Queues.java
1.6 kB
Code/Chapter14/SortStack/pom.xml
685 B
Code/Chapter14/SortStack/src/main/java/coding/challenge/Main.java
488 B
Code/Chapter14/SortStack/src/main/java/coding/challenge/Stacks.java
675 B
Code/Chapter14/SortStackInPlace/pom.xml
698 B
Code/Chapter14/SortStackInPlace/src/main/java/coding/challenge/Main.java
487 B
Code/Chapter14/SortStackInPlace/src/main/java/coding/challenge/Stacks.java
1.3 kB
Code/Chapter14/UnknownSizeList/pom.xml
695 B
Code/Chapter14/UnknownSizeList/src/main/java/coding/challenge/Main.java
454 B
Code/Chapter14/UnknownSizeList/src/main/java/coding/challenge/SizelessList.java
309 B
Code/Chapter14/UnknownSizeList/src/main/java/coding/challenge/UnknownSizeList.java
1.1 kB
Code/Chapter14/WordSearch/pom.xml
685 B
Code/Chapter14/WordSearch/src/main/java/coding/challenge/Main.java
561 B
Code/Chapter14/WordSearch/src/main/java/coding/challenge/Words.java
1.6 kB
Code/Chapter15/README.md
313 B
Code/Chapter15/Abcd/pom.xml
674 B
Code/Chapter15/Abcd/src/main/java/coding/challenge/Abcd.java
625 B
Code/Chapter15/Abcd/src/main/java/coding/challenge/Main.java
124 B
Code/Chapter15/BreakChocolate/pom.xml
695 B
Code/Chapter15/BreakChocolate/src/main/java/coding/challenge/Chocolates.java
1.1 kB
Code/Chapter15/BreakChocolate/src/main/java/coding/challenge/Main.java
297 B
Code/Chapter15/DecodingDigitSequence/pom.xml
707 B
Code/Chapter15/DecodingDigitSequence/src/main/java/coding/challenge/Digits.java
1.9 kB
Code/Chapter15/DecodingDigitSequence/src/main/java/coding/challenge/Main.java
536 B
Code/Chapter15/FizzBuzz/pom.xml
681 B
Code/Chapter15/FizzBuzz/src/main/java/coding/challenge/FizzBuzz.java
705 B
Code/Chapter15/FizzBuzz/src/main/java/coding/challenge/Main.java
131 B
Code/Chapter15/HourMinuteAngle/pom.xml
696 B
Code/Chapter15/HourMinuteAngle/src/main/java/coding/challenge/Clock.java
599 B
Code/Chapter15/HourMinuteAngle/src/main/java/coding/challenge/Main.java
758 B
Code/Chapter15/KthNumber357/pom.xml
689 B
Code/Chapter15/KthNumber357/src/main/java/coding/challenge/Main.java
373 B
Code/Chapter15/KthNumber357/src/main/java/coding/challenge/Numbers.java
1.9 kB
Code/Chapter15/MultiplyLargeNumbers/pom.xml
705 B
Code/Chapter15/MultiplyLargeNumbers/src/main/java/coding/challenge/Main.java
291 B
Code/Chapter15/MultiplyLargeNumbers/src/main/java/coding/challenge/Numbers.java
2.0 kB
Code/Chapter15/NextElementSameDigits/pom.xml
708 B
Code/Chapter15/NextElementSameDigits/src/main/java/coding/challenge/Main.java
199 B
Code/Chapter15/NextElementSameDigits/src/main/java/coding/challenge/Numbers.java
1.9 kB
Code/Chapter15/NumberDivisibleDigits/pom.xml
708 B
Code/Chapter15/NumberDivisibleDigits/src/main/java/coding/challenge/Main.java
616 B
Code/Chapter15/NumberDivisibleDigits/src/main/java/coding/challenge/Numbers.java
417 B
Code/Chapter15/PythagoreanTriplets/pom.xml
704 B
Code/Chapter15/PythagoreanTriplets/src/main/java/coding/challenge/Main.java
188 B
Code/Chapter15/PythagoreanTriplets/src/main/java/coding/challenge/Pythagoreans.java
1.2 kB
Code/Chapter15/RectangleOverlap/pom.xml
698 B
Code/Chapter15/RectangleOverlap/src/main/java/coding/challenge/Main.java
493 B
Code/Chapter15/RectangleOverlap/src/main/java/coding/challenge/Rectangles.java
782 B
Code/Chapter15/RomanNumbers/pom.xml
690 B
Code/Chapter15/RomanNumbers/src/main/java/coding/challenge/Main.java
707 B
Code/Chapter15/RomanNumbers/src/main/java/coding/challenge/RomanNumbers.java
1.7 kB
Code/Chapter15/ScheduleOneElevator/pom.xml
704 B
Code/Chapter15/ScheduleOneElevator/src/main/java/coding/challenge/Elevators.java
859 B
Code/Chapter15/ScheduleOneElevator/src/main/java/coding/challenge/Main.java
245 B
Code/Chapter15/VisitToggle100Doors/pom.xml
703 B
Code/Chapter15/VisitToggle100Doors/src/main/java/coding/challenge/Doors.java
815 B
Code/Chapter15/VisitToggle100Doors/src/main/java/coding/challenge/Main.java
239 B
Code/Chapter16/README.md
163 B
Code/Chapter16/CancelThread/nbactions.xml
1.7 kB
Code/Chapter16/CancelThread/pom.xml
689 B
Code/Chapter16/CancelThread/src/main/java/coding/challenge/Main.java
652 B
Code/Chapter16/CancelThread/src/main/java/coding/challenge/RandomList.java
603 B
Code/Chapter16/Deadlock/nbactions.xml
1.7 kB
Code/Chapter16/Deadlock/pom.xml
681 B
Code/Chapter16/Deadlock/src/main/java/coding/challenge/Main.java
1.1 kB
Code/Chapter16/ExecutorAndExecutorService/nbactions.xml
1.7 kB
Code/Chapter16/ExecutorAndExecutorService/pom.xml
717 B
Code/Chapter16/ExecutorAndExecutorService/src/main/java/coding/challenge/Main.java
1.9 kB
Code/Chapter16/ExecutorAndExecutorService/src/main/java/coding/challenge/SimpleExecutor.java
213 B
Code/Chapter16/ExecutorAndExecutorService/src/main/java/coding/challenge/SimpleThreadPoolExecutor.java
590 B
Code/Chapter16/ProducerConsumerQueue/nbactions.xml
1.7 kB
Code/Chapter16/ProducerConsumerQueue/pom.xml
707 B
Code/Chapter16/ProducerConsumerQueue/src/main/java/coding/challenge/Main.java
379 B
Code/Chapter16/ProducerConsumerQueue/src/main/java/coding/challenge/ProducerConsumer.java
4.5 kB
Code/Chapter16/ProducerConsumerWaitNotify/nbactions.xml
1.7 kB
Code/Chapter16/ProducerConsumerWaitNotify/pom.xml
717 B
Code/Chapter16/ProducerConsumerWaitNotify/src/main/java/coding/challenge/Main.java
379 B
Code/Chapter16/ProducerConsumerWaitNotify/src/main/java/coding/challenge/ProducerConsumer.java
6.0 kB
Code/Chapter16/RunnableAndCallable/nbactions.xml
1.7 kB
Code/Chapter16/RunnableAndCallable/pom.xml
703 B
Code/Chapter16/RunnableAndCallable/src/main/java/coding/challenge/ExecuteTask.java
1.8 kB
Code/Chapter16/RunnableAndCallable/src/main/java/coding/challenge/Main.java
532 B
Code/Chapter16/ThreadLifecycleState/nbactions.xml
1.7 kB
Code/Chapter16/ThreadLifecycleState/pom.xml
705 B
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/BlockedThread.java
1.9 kB
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/Main.java
1.5 kB
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/NewThread.java
1.1 kB
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/RunnableThread.java
1.1 kB
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/TerminatedThread.java
631 B
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/TimedWaitingThread.java
995 B
Code/Chapter16/ThreadLifecycleState/src/main/java/coding/challenge/WaitingThread.java
2.2 kB
Code/Chapter18/README.md
402 B
Code/Chapter18/junit4/README.md
17 B
Code/Chapter18/junit4/Assumptions/pom.xml
987 B
Code/Chapter18/junit4/Assumptions/src/test/java/coding/challenge/test/AssumptionsTest.java
558 B
Code/Chapter18/junit4/BeforeAfterAnnotations/pom.xml
1009 B
Code/Chapter18/junit4/BeforeAfterAnnotations/src/test/java/coding/challenge/test/BeforeAfterTest.java
1.1 kB
Code/Chapter18/junit4/TestingExceptions/pom.xml
999 B
Code/Chapter18/junit4/TestingExceptions/src/test/java/coding/challenge/test/ExceptionTest.java
1.4 kB
Code/Chapter18/junit4/TestSuite/pom.xml
983 B
Code/Chapter18/junit4/TestSuite/src/test/java/coding/challenge/test/TestConnect.java
428 B
Code/Chapter18/junit4/TestSuite/src/test/java/coding/challenge/test/TestDisconnect.java
436 B
Code/Chapter18/junit4/TestSuite/src/test/java/coding/challenge/test/TestHeartbeat.java
432 B
Code/Chapter18/junit4/TestSuite/src/test/java/coding/challenge/test/TestSuite.java
293 B
Code/Chapter18/junit5/README.md
17 B
Code/Chapter18/junit5/ArrangeActAssert/pom.xml
1.6 kB
Code/Chapter18/junit5/ArrangeActAssert/src/test/java/coding/challenge/test/AAATest.java
559 B
Code/Chapter18/junit5/Assumptions/pom.xml
1.6 kB
Code/Chapter18/junit5/Assumptions/src/test/java/coding/challenge/test/AssumptionsTest.java
855 B
Code/Chapter18/junit5/BeforeAfterAnnotations/pom.xml
1.7 kB
Code/Chapter18/junit5/BeforeAfterAnnotations/src/test/java/coding/challenge/test/BeforeAfterTest.java
1.2 kB
Code/Chapter18/junit5/NestedTests/pom.xml
1.3 kB
Code/Chapter18/junit5/NestedTests/src/test/java/coding/challenge/test/NestedTest.java
2.1 kB
Code/Chapter18/junit5/TestFactory/pom.xml
1.3 kB
Code/Chapter18/junit5/TestFactory/src/test/java/coding/challenge/test/ExampleOfDynamicTest.java
1016 B
Code/Chapter18/junit5/TestingExceptions/pom.xml
1.6 kB
Code/Chapter18/junit5/TestingExceptions/src/test/java/coding/challenge/test/ExceptionTest.java
949 B
Code/Chapter18/junit5/TestSuite/pom.xml
1.3 kB
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/connection/test/TestConnect.java
473 B
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/connection/test/TestConnectionSuite.java
477 B
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/connection/test/TestDisconnect.java
481 B
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/connection/test/TestHeartbeat.java
477 B
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/login/test/TestLogin.java
457 B
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/login/test/TestLoginSuite.java
478 B
Code/Chapter18/junit5/TestSuite/src/test/java/coding/challenge/login/test/TestLogout.java
461 B