lots of exercises in java... from https://github.com/exercism/java

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686
  1. {
  2. "active": true,
  3. "blurb": "Java is a very widely used Object Oriented programming language. It's safe, simple to use and portable so that you can \"write once, run anywhere\".",
  4. "exercises": [
  5. {
  6. "core": true,
  7. "difficulty": 1,
  8. "slug": "hello-world",
  9. "topics": [
  10. "strings"
  11. ],
  12. "unlocked_by": null,
  13. "uuid": "f77dc7e3-35a8-4300-a7c8-2c1765e9644d"
  14. },
  15. {
  16. "core": true,
  17. "difficulty": 1,
  18. "slug": "two-fer",
  19. "topics": null,
  20. "unlocked_by": null,
  21. "uuid": "74515d45-565b-4be2-96c4-77e58efa9257"
  22. },
  23. {
  24. "core": false,
  25. "difficulty": 2,
  26. "slug": "rna-transcription",
  27. "topics": null,
  28. "unlocked_by": null,
  29. "uuid": "8e983ed2-62f7-439a-a144-fb8fdbdf4d30"
  30. },
  31. {
  32. "core": false,
  33. "difficulty": 3,
  34. "slug": "pangram",
  35. "topics": null,
  36. "unlocked_by": null,
  37. "uuid": "133b0f84-bdc7-4508-a0a1-5732a7db81ef"
  38. },
  39. {
  40. "core": true,
  41. "difficulty": 3,
  42. "slug": "hamming",
  43. "topics": null,
  44. "unlocked_by": null,
  45. "uuid": "ce899ca6-9cc7-47ba-b76f-1bbcf2630b76"
  46. },
  47. {
  48. "core": true,
  49. "difficulty": 3,
  50. "slug": "gigasecond",
  51. "topics": null,
  52. "unlocked_by": null,
  53. "uuid": "bf1641c8-dc0d-4d38-9cfe-b4c132ea3553"
  54. },
  55. {
  56. "core": false,
  57. "difficulty": 3,
  58. "slug": "space-age",
  59. "topics": null,
  60. "unlocked_by": null,
  61. "uuid": "e5b524cd-3a1c-468a-8981-13e8eeccb29d"
  62. },
  63. {
  64. "core": false,
  65. "difficulty": 3,
  66. "slug": "acronym",
  67. "topics": null,
  68. "unlocked_by": null,
  69. "uuid": "c31bbc6d-bdcf-44f7-bf35-5f98752e38d0"
  70. },
  71. {
  72. "core": true,
  73. "difficulty": 3,
  74. "slug": "scrabble-score",
  75. "topics": null,
  76. "unlocked_by": null,
  77. "uuid": "afae9f2d-8baf-4bd7-8d7c-d486337f7c97"
  78. },
  79. {
  80. "core": false,
  81. "difficulty": 3,
  82. "slug": "raindrops",
  83. "topics": null,
  84. "unlocked_by": "hello-world",
  85. "uuid": "d916e4f8-fda1-41c0-ab24-79e8fc3f1272"
  86. },
  87. {
  88. "core": true,
  89. "difficulty": 3,
  90. "slug": "difference-of-squares",
  91. "topics": null,
  92. "unlocked_by": null,
  93. "uuid": "b0da59c6-1b55-405c-b163-007ebf09f5e8"
  94. },
  95. {
  96. "core": true,
  97. "difficulty": 3,
  98. "slug": "secret-handshake",
  99. "topics": null,
  100. "unlocked_by": null,
  101. "uuid": "71c7c174-7e2c-43c2-bdd6-7515fcb12a91"
  102. },
  103. {
  104. "core": false,
  105. "difficulty": 3,
  106. "slug": "perfect-numbers",
  107. "topics": null,
  108. "unlocked_by": "difference-of-squares",
  109. "uuid": "d0dcc898-ec38-4822-9e3c-1a1829c9b2d9"
  110. },
  111. {
  112. "core": false,
  113. "difficulty": 4,
  114. "slug": "sum-of-multiples",
  115. "topics": null,
  116. "unlocked_by": "difference-of-squares",
  117. "uuid": "2f244afc-3e7b-4f89-92af-e2b427f4ef35"
  118. },
  119. {
  120. "core": false,
  121. "difficulty": 4,
  122. "slug": "luhn",
  123. "topics": null,
  124. "unlocked_by": "hamming",
  125. "uuid": "5227a76c-8ecb-4e5f-b023-6af65a057c41"
  126. },
  127. {
  128. "core": true,
  129. "difficulty": 4,
  130. "slug": "matrix",
  131. "topics": null,
  132. "unlocked_by": null,
  133. "uuid": "c1d4e0b4-6a0f-4be9-8222-345966621f53"
  134. },
  135. {
  136. "core": true,
  137. "difficulty": 4,
  138. "slug": "triangle",
  139. "topics": null,
  140. "unlocked_by": null,
  141. "uuid": "ec268d8e-997b-4553-8c67-8bdfa1ecb888"
  142. },
  143. {
  144. "core": false,
  145. "difficulty": 4,
  146. "slug": "largest-series-product",
  147. "topics": null,
  148. "unlocked_by": "hamming",
  149. "uuid": "b7310b6e-435c-4d5f-b2bd-31e586d0f238"
  150. },
  151. {
  152. "core": false,
  153. "difficulty": 4,
  154. "slug": "sieve",
  155. "topics": null,
  156. "unlocked_by": "difference-of-squares",
  157. "uuid": "6791d01f-bae4-4b63-ae76-86529ac49e36"
  158. },
  159. {
  160. "core": false,
  161. "difficulty": 4,
  162. "slug": "twelve-days",
  163. "topics": null,
  164. "unlocked_by": "two-fer",
  165. "uuid": "581afdbb-dfb6-4dc5-9554-a025b5469a3c"
  166. },
  167. {
  168. "core": true,
  169. "difficulty": 4,
  170. "slug": "rotational-cipher",
  171. "topics": null,
  172. "unlocked_by": null,
  173. "uuid": "9eb41883-55ef-4681-b5ac-5c2259302772"
  174. },
  175. {
  176. "core": false,
  177. "difficulty": 4,
  178. "slug": "kindergarten-garden",
  179. "topics": null,
  180. "unlocked_by": "matrix",
  181. "uuid": "0b92ffee-c092-4ab1-ad78-76c8cf80e1b5"
  182. },
  183. {
  184. "core": false,
  185. "difficulty": 4,
  186. "slug": "collatz-conjecture",
  187. "topics": null,
  188. "unlocked_by": "triangle",
  189. "uuid": "1500d39a-c9d9-4d3a-9e77-fdc1837fc6ad"
  190. },
  191. {
  192. "core": false,
  193. "difficulty": 4,
  194. "slug": "nth-prime",
  195. "topics": null,
  196. "unlocked_by": "triangle",
  197. "uuid": "2c69db99-648d-4bd7-8012-1fbdeff6ca0a"
  198. },
  199. {
  200. "core": true,
  201. "difficulty": 4,
  202. "slug": "saddle-points",
  203. "topics": null,
  204. "unlocked_by": null,
  205. "uuid": "8dfc2f0d-1141-46e9-95e2-6f35ccf6f160"
  206. },
  207. {
  208. "core": false,
  209. "difficulty": 4,
  210. "slug": "diamond",
  211. "topics": null,
  212. "unlocked_by": "two-fer",
  213. "uuid": "ecbd997b-86f4-4e11-9ff0-706ac2899415"
  214. },
  215. {
  216. "core": false,
  217. "difficulty": 4,
  218. "slug": "isogram",
  219. "topics": null,
  220. "unlocked_by": "hello-world",
  221. "uuid": "c3e89c7c-3a8a-4ddc-b653-9b0ff9e1d7d8"
  222. },
  223. {
  224. "core": true,
  225. "difficulty": 5,
  226. "slug": "flatten-array",
  227. "topics": null,
  228. "unlocked_by": null,
  229. "uuid": "a732a838-8170-458a-a85e-d6b4c46f97a1"
  230. },
  231. {
  232. "core": false,
  233. "difficulty": 5,
  234. "slug": "pig-latin",
  235. "topics": null,
  236. "unlocked_by": "hello-world",
  237. "uuid": "38bc80ae-d842-4c04-a797-48edf322504d"
  238. },
  239. {
  240. "core": false,
  241. "difficulty": 5,
  242. "slug": "phone-number",
  243. "topics": null,
  244. "unlocked_by": "hamming",
  245. "uuid": "5f9139e7-9fbb-496a-a0d7-a946283033de"
  246. },
  247. {
  248. "core": false,
  249. "difficulty": 5,
  250. "slug": "nucleotide-count",
  251. "topics": null,
  252. "unlocked_by": "hamming",
  253. "uuid": "2d80fdfc-5bd7-4b67-9fbe-8ab820d89051"
  254. },
  255. {
  256. "core": true,
  257. "difficulty": 5,
  258. "slug": "word-count",
  259. "topics": null,
  260. "unlocked_by": null,
  261. "uuid": "3603b770-87a5-4758-91f3-b4d1f9075bc1"
  262. },
  263. {
  264. "core": false,
  265. "difficulty": 5,
  266. "slug": "run-length-encoding",
  267. "topics": null,
  268. "unlocked_by": "rotational-cipher",
  269. "uuid": "4499a3f9-73a7-48bf-8753-d5b6abf588c9"
  270. },
  271. {
  272. "core": true,
  273. "difficulty": 5,
  274. "slug": "robot-name",
  275. "topics": null,
  276. "unlocked_by": null,
  277. "uuid": "d7c2eed9-64c7-4c4a-b45d-c787d460337f"
  278. },
  279. {
  280. "core": false,
  281. "difficulty": 5,
  282. "slug": "prime-factors",
  283. "topics": null,
  284. "unlocked_by": "triangle",
  285. "uuid": "599c08ec-7338-46ed-99f8-a76f78f724e6"
  286. },
  287. {
  288. "core": false,
  289. "difficulty": 5,
  290. "slug": "allergies",
  291. "topics": null,
  292. "unlocked_by": "gigasecond",
  293. "uuid": "6a617ddb-04e3-451c-bb30-27ccd0be9125"
  294. },
  295. {
  296. "core": false,
  297. "difficulty": 5,
  298. "slug": "bob",
  299. "topics": null,
  300. "unlocked_by": "two-fer",
  301. "uuid": "34cd328c-cd96-492b-abd4-2b8716cdcd9a"
  302. },
  303. {
  304. "core": false,
  305. "difficulty": 5,
  306. "slug": "pascals-triangle",
  307. "topics": null,
  308. "unlocked_by": "matrix",
  309. "uuid": "d2a76905-1c8c-4b03-b4f7-4fbff19329f3"
  310. },
  311. {
  312. "core": false,
  313. "difficulty": 5,
  314. "slug": "bracket-push",
  315. "topics": null,
  316. "unlocked_by": "flatten-array",
  317. "uuid": "85aa50ac-0141-49eb-bc6f-62f3f7a97647"
  318. },
  319. {
  320. "core": false,
  321. "difficulty": 5,
  322. "slug": "series",
  323. "topics": null,
  324. "unlocked_by": "hamming",
  325. "uuid": "af80d7f4-c7d0-4d0b-9c30-09da120f6bb9"
  326. },
  327. {
  328. "core": false,
  329. "difficulty": 5,
  330. "slug": "atbash-cipher",
  331. "topics": null,
  332. "unlocked_by": "rotational-cipher",
  333. "uuid": "d36ce010-210f-4e9a-9d6c-cb933e0a59af"
  334. },
  335. {
  336. "core": false,
  337. "difficulty": 6,
  338. "slug": "spiral-matrix",
  339. "topics": null,
  340. "unlocked_by": "matrix",
  341. "uuid": "163fcc6b-c054-4232-a88b-0aded846a6eb"
  342. },
  343. {
  344. "core": false,
  345. "difficulty": 6,
  346. "slug": "roman-numerals",
  347. "topics": null,
  348. "unlocked_by": "hamming",
  349. "uuid": "3e728cd4-5e5f-4c69-8a53-bc36d020fcdb"
  350. },
  351. {
  352. "core": false,
  353. "difficulty": 6,
  354. "slug": "transpose",
  355. "topics": null,
  356. "unlocked_by": "matrix",
  357. "uuid": "57b76837-4610-466f-9373-d5c2697625f1"
  358. },
  359. {
  360. "core": false,
  361. "difficulty": 6,
  362. "slug": "house",
  363. "topics": null,
  364. "unlocked_by": "two-fer",
  365. "uuid": "6b51aca3-3451-4a64-ad7b-00b151d7548a"
  366. },
  367. {
  368. "core": false,
  369. "difficulty": 6,
  370. "slug": "food-chain",
  371. "topics": null,
  372. "unlocked_by": "two-fer",
  373. "uuid": "dd3e6fd6-5359-4978-acd7-c39374cead4d"
  374. },
  375. {
  376. "core": false,
  377. "difficulty": 6,
  378. "slug": "beer-song",
  379. "topics": null,
  380. "unlocked_by": "two-fer",
  381. "uuid": "56943095-de76-40bf-b42b-fa3e70f8df5e"
  382. },
  383. {
  384. "core": false,
  385. "difficulty": 6,
  386. "slug": "queen-attack",
  387. "topics": null,
  388. "unlocked_by": "scrabble-score",
  389. "uuid": "5404109e-3ed9-4691-8eaf-af8b36024a44"
  390. },
  391. {
  392. "core": false,
  393. "difficulty": 6,
  394. "slug": "etl",
  395. "topics": null,
  396. "unlocked_by": "word-count",
  397. "uuid": "76d28d97-75d3-47eb-bb77-3d347b76f1b6"
  398. },
  399. {
  400. "core": true,
  401. "difficulty": 6,
  402. "slug": "linked-list",
  403. "topics": null,
  404. "unlocked_by": null,
  405. "uuid": "7ba5084d-3b75-4406-a0d7-87c26387f9c0"
  406. },
  407. {
  408. "core": false,
  409. "difficulty": 6,
  410. "slug": "grade-school",
  411. "topics": null,
  412. "unlocked_by": "word-count",
  413. "uuid": "b4af5da1-601f-4b0f-bfb8-4a381851090c"
  414. },
  415. {
  416. "core": false,
  417. "difficulty": 6,
  418. "slug": "robot-simulator",
  419. "topics": null,
  420. "unlocked_by": "secret-handshake",
  421. "uuid": "993bde9d-7774-4e7a-a381-9eee75f28ecb"
  422. },
  423. {
  424. "core": true,
  425. "difficulty": 6,
  426. "slug": "binary-search",
  427. "topics": null,
  428. "unlocked_by": null,
  429. "uuid": "50136dc3-caf7-4fa1-b7bd-0cba1bea9176"
  430. },
  431. {
  432. "core": false,
  433. "difficulty": 6,
  434. "slug": "minesweeper",
  435. "topics": null,
  436. "unlocked_by": "scrabble-score",
  437. "uuid": "416a1489-12af-4593-8540-0f55285c96b4"
  438. },
  439. {
  440. "core": false,
  441. "difficulty": 6,
  442. "slug": "wordy",
  443. "topics": null,
  444. "unlocked_by": "secret-handshake",
  445. "uuid": "3310a3cd-c0cb-45fa-8c51-600178be904a"
  446. },
  447. {
  448. "core": false,
  449. "difficulty": 6,
  450. "slug": "all-your-base",
  451. "topics": null,
  452. "unlocked_by": "saddle-points",
  453. "uuid": "f7c2e4b5-1995-4dfe-b827-c9aff8ac5332"
  454. },
  455. {
  456. "core": true,
  457. "difficulty": 6,
  458. "slug": "bank-account",
  459. "topics": null,
  460. "unlocked_by": null,
  461. "uuid": "a242efc5-159d-492b-861d-12a1459fb334"
  462. },
  463. {
  464. "core": false,
  465. "difficulty": 6,
  466. "slug": "bowling",
  467. "topics": null,
  468. "unlocked_by": "scrabble-score",
  469. "uuid": "4b3f7771-c642-4278-a3d9-2fb958f26361"
  470. },
  471. {
  472. "core": false,
  473. "difficulty": 7,
  474. "slug": "anagram",
  475. "topics": null,
  476. "unlocked_by": "hello-world",
  477. "uuid": "fb10dc2f-0ba1-44b6-8365-5e48e86d1283"
  478. },
  479. {
  480. "core": false,
  481. "difficulty": 7,
  482. "slug": "sublist",
  483. "topics": null,
  484. "unlocked_by": "linked-list",
  485. "uuid": "d2aedbd7-092a-43d0-8a5e-ae3ebd5b9c7f"
  486. },
  487. {
  488. "core": false,
  489. "difficulty": 7,
  490. "slug": "word-search",
  491. "topics": null,
  492. "unlocked_by": "scrabble-score",
  493. "uuid": "b53bde52-cb5f-4d43-86ec-18aa509d62f9"
  494. },
  495. {
  496. "core": false,
  497. "difficulty": 7,
  498. "slug": "simple-linked-list",
  499. "topics": null,
  500. "unlocked_by": "linked-list",
  501. "uuid": "e3e5ffe5-cfc1-467e-a28a-da0302130144"
  502. },
  503. {
  504. "core": false,
  505. "difficulty": 7,
  506. "slug": "binary-search-tree",
  507. "topics": null,
  508. "unlocked_by": "binary-search",
  509. "uuid": "0a2d18aa-7b5e-4401-a952-b93d2060694f"
  510. },
  511. {
  512. "core": false,
  513. "difficulty": 7,
  514. "slug": "meetup",
  515. "topics": null,
  516. "unlocked_by": "gigasecond",
  517. "uuid": "602511d5-7e89-4def-b072-4dd311816810"
  518. },
  519. {
  520. "core": false,
  521. "difficulty": 7,
  522. "slug": "crypto-square",
  523. "topics": null,
  524. "unlocked_by": "rotational-cipher",
  525. "uuid": "162bebdc-9bf2-43c0-8460-a91f5fc16147"
  526. },
  527. {
  528. "core": false,
  529. "difficulty": 7,
  530. "slug": "poker",
  531. "topics": [
  532. "games",
  533. "parsing",
  534. "sorting"
  535. ],
  536. "unlocked_by": "scrabble-score",
  537. "uuid": "57eeac00-741c-4843-907a-51f0ac5ea4cb"
  538. },
  539. {
  540. "core": false,
  541. "difficulty": 7,
  542. "slug": "clock",
  543. "topics": null,
  544. "unlocked_by": "saddle-points",
  545. "uuid": "97c8fcd4-85b6-41cb-9de2-b4e1b4951222"
  546. },
  547. {
  548. "core": false,
  549. "difficulty": 8,
  550. "slug": "ocr-numbers",
  551. "topics": null,
  552. "unlocked_by": "robot-name",
  553. "uuid": "5cbc6a67-3a53-4aad-ae68-ff469525437f"
  554. },
  555. {
  556. "core": false,
  557. "difficulty": 8,
  558. "slug": "circular-buffer",
  559. "topics": [
  560. "classes",
  561. "exception-handling",
  562. "queues"
  563. ],
  564. "unlocked_by": "linked-list",
  565. "uuid": "626dc25a-062c-4053-a8c1-788e4dc44ca0"
  566. },
  567. {
  568. "core": false,
  569. "difficulty": 8,
  570. "slug": "rectangles",
  571. "topics": null,
  572. "unlocked_by": "robot-name",
  573. "uuid": "64cda115-919a-4eef-9a45-9ec5d1af98cc"
  574. },
  575. {
  576. "core": false,
  577. "difficulty": 8,
  578. "slug": "book-store",
  579. "topics": null,
  580. "unlocked_by": "flatten-array",
  581. "uuid": "e5f05d00-fe5b-4d78-b2fa-934c1c9afb32"
  582. },
  583. {
  584. "core": false,
  585. "difficulty": 8,
  586. "slug": "simple-cipher",
  587. "topics": null,
  588. "unlocked_by": "rotational-cipher",
  589. "uuid": "f654831f-c34b-44f5-9dd5-054efbb486f2"
  590. },
  591. {
  592. "core": false,
  593. "difficulty": 8,
  594. "slug": "complex-numbers",
  595. "topics": null,
  596. "unlocked_by": "triangle",
  597. "uuid": "52d11278-0d65-4b5b-b387-1374fced3243"
  598. },
  599. {
  600. "core": false,
  601. "difficulty": 8,
  602. "slug": "list-ops",
  603. "topics": null,
  604. "unlocked_by": "linked-list",
  605. "uuid": "a9836565-5c39-4285-b83a-53408be36ccc"
  606. },
  607. {
  608. "core": false,
  609. "difficulty": 8,
  610. "slug": "change",
  611. "topics": null,
  612. "unlocked_by": "flatten-array",
  613. "uuid": "bac1f4bc-eea9-43c1-8e95-097347f5925e"
  614. },
  615. {
  616. "core": false,
  617. "difficulty": 8,
  618. "slug": "palindrome-products",
  619. "topics": null,
  620. "unlocked_by": "saddle-points",
  621. "uuid": "873c05de-b5f5-4c5b-97f0-d1ede8a82832"
  622. },
  623. {
  624. "core": false,
  625. "difficulty": 9,
  626. "slug": "pythagorean-triplet",
  627. "topics": null,
  628. "unlocked_by": "triangle",
  629. "uuid": "88505f95-89e5-4a08-8ed2-208eb818cdf1"
  630. },
  631. {
  632. "core": false,
  633. "difficulty": 9,
  634. "slug": "forth",
  635. "topics": null,
  636. "unlocked_by": "secret-handshake",
  637. "uuid": "f0c0316d-3fb5-455e-952a-91161e7fb298"
  638. },
  639. {
  640. "core": false,
  641. "difficulty": 10,
  642. "slug": "custom-set",
  643. "topics": null,
  644. "unlocked_by": "linked-list",
  645. "uuid": "377fe38b-08ad-4f3a-8118-a43c10f7b9b2"
  646. },
  647. {
  648. "deprecated": true,
  649. "slug": "accumulate",
  650. "uuid": "e58c29d2-80a7-40ef-bed0-4a184ae35f34"
  651. },
  652. {
  653. "deprecated": true,
  654. "slug": "binary",
  655. "uuid": "9ea6e0fa-b91d-4d17-ac8f-6d2dc30fdd44"
  656. },
  657. {
  658. "deprecated": true,
  659. "slug": "hexadecimal",
  660. "uuid": "6fe53a08-c123-465d-864a-ef18217203c4"
  661. },
  662. {
  663. "deprecated": true,
  664. "slug": "octal",
  665. "uuid": "14a29e82-f9b1-4662-b678-06992e306c01"
  666. },
  667. {
  668. "deprecated": true,
  669. "slug": "strain",
  670. "uuid": "2d195cd9-1814-490a-8dd6-a2c676f1d4cd"
  671. },
  672. {
  673. "deprecated": true,
  674. "slug": "trinary",
  675. "uuid": "ee3a8abe-6b19-4b47-9cf6-4d39ae915fb7"
  676. }
  677. ],
  678. "foregone": [
  679. "leap",
  680. "grains",
  681. "say"
  682. ],
  683. "language": "Java",
  684. "solution_pattern": "reference"
  685. }