{"id":15977696,"url":"https://github.com/ugnelis/code-samples","last_synced_at":"2026-04-05T08:34:26.310Z","repository":{"id":164098972,"uuid":"68903759","full_name":"ugnelis/code-samples","owner":"ugnelis","description":"Various code samples and examples.","archived":false,"fork":false,"pushed_at":"2021-10-29T06:00:00.000Z","size":282,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-24T19:56:17.985Z","etag":null,"topics":["algorithms","hacktoberfest","java","javascript","jupyter-notebook","python","tensorflow"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ugnelis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-22T09:01:57.000Z","updated_at":"2021-10-29T05:59:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"8344b3a6-d709-4a60-97b5-e16d25d8dc65","html_url":"https://github.com/ugnelis/code-samples","commit_stats":{"total_commits":41,"total_committers":1,"mean_commits":41.0,"dds":0.0,"last_synced_commit":"e30ecb998fd601f2bc41ab415743f56671da6f29"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ugnelis/code-samples","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugnelis%2Fcode-samples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugnelis%2Fcode-samples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugnelis%2Fcode-samples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugnelis%2Fcode-samples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ugnelis","download_url":"https://codeload.github.com/ugnelis/code-samples/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ugnelis%2Fcode-samples/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272024974,"owners_count":24860528,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-25T02:00:12.092Z","response_time":1107,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithms","hacktoberfest","java","javascript","jupyter-notebook","python","tensorflow"],"created_at":"2024-10-07T23:01:41.648Z","updated_at":"2025-12-30T21:37:24.709Z","avatar_url":"https://github.com/ugnelis.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Code Samples\n\nThis repository contains various useful code samples.\n\n## Java\n\n### Algorithms\n\n**Data Structures**\n\n* [Linked List](java/algorithms/data_structures/LinkedList.java) is a data structure that represents a sequence of\n  nodes. In a singly linked list, each node points to the next node in the linked list. A doubly linked list gives each\n  node pointers to both the next node and the previous node.\n* [Queue](java/algorithms/data_structures/Queue.java) a stack of data. In certain types of problems, it can be favorable\n  to store data in a stack rather than in an array\n* [Stack](java/algorithms/data_structures/Stack.java) uses LIFO (last-in first-out) ordering. That is, as in a stack of\n  dinner plates, the most recent item added to the stack is the first item to be removed.\n\n**Games**\n\n* [Sudoku](java/algorithms/games/Sudoku.java) is a logic-based, combinatorial number-placement puzzle. In classic\n  sudoku, the objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3\n  subgrids that compose the grid contain all the digits from 1 to 9\n\n**Graphs**\n\n* [Breadth-First Search](java/algorithms/graphs/BFS.java) is an algorithm for searching a tree data structure for a node\n  that satisfies a given property. It starts at the tree root and explores all nodes at the present depth prior to\n  moving on to the nodes at the next depth level.\n* [Depth-First Search](java/algorithms/graphs/DFS.java) is an algorithm for traversing or searching tree or graph data\n  structures. The algorithm starts at the root node and explores as far as possible along each branch before\n  backtracking.\n\n**Math**\n\n* [Greatest Common Divisor](java/algorithms/math/GCD_LCM.java) is the largest positive integer that divides each of the\n  integers\n* [Least Common Multiple](java/algorithms/math/GCD_LCM.java) is the smallest positive integer that is divisible by both\n  a and b.\n* [Sieve of Eratosthenes](java/algorithms/math/SieveOfEratosthenes.java)  is an ancient algorithm for finding all prime\n  numbers up to any given limit.\n\n**Recursion and Dynamic Programming**\n\n* [Fibonacci](java/algorithms/recursion_and_dynamic_programming/Fibonacci.java) sequence is a set of numbers that starts\n  with a one or a zero, followed by a one, and proceeds based on the rule that each number (called a Fibonacci number)\n  is equal to the sum of the preceding two numbers.\n* [Find number of sets that add up to given sum number](java/algorithms/recursion_and_dynamic_programming/FindSetsNumber.java)\n\n**Searching**\n\n* [Binary Search](java/algorithms/searching/BinarySearch.java) is a search algorithm that finds the position of a target\n  value within a sorted array. Binary search compares the target value to the middle element of the array. If they are\n  not equal, the half in which the target cannot lie is eliminated and the search continues on the remaining half, again\n  taking the middle element to compare to the target value, and repeating this until the target value is found. If the\n  search ends with the remaining half being empty, the target is not in the array.\n\n**Sorts**\n\n* [Bubble Sort](java/algorithms/sorts/BubbleSort.java) is a simple sorting algorithm that repeatedly steps through the\n  list, compares adjacent elements and swaps them if they are in the wrong order. The pass through the list is repeated\n  until the list is sorted.\n* [Bucket Sort](java/algorithms/sorts/BucketSort.java) is a sorting algorithm that works by distributing the elements of\n  an array into a number of buckets. Each bucket is then sorted individually, either using a different sorting\n  algorithm, or by recursively applying the bucket sorting algorithm.\n* [Insertion Sort](java/algorithms/sorts/InsertionSort.java) is a sorting algorithm that places an unsorted element at\n  its suitable place in each iteration.\n* [Merge Sort](java/algorithms/sorts/MergeSort.java) is a divide-and-conquer algorithm. It divides the input array into\n  two halves, calls itself for the two halves, and then merges the two sorted halves.\n* [Quick Sort](java/algorithms/sorts/QuickSort.java) is a divide-and-conquer algorithm. It works by selecting a 'pivot'\n  element from the array and partitioning the other elements into two sub-arrays, according to whether they are less\n  than or greater than the pivot.\n* [Radix Sort](java/algorithms/sorts/RadixSort.java) is a non-comparative sorting algorithm. It avoids comparison by\n  creating and distributing elements into buckets according to their radix.\n\n## JavaScript\n\n### Projects\n\n**Utility**\n\n* [Open, scale, save image](javascript/utility/open_scale_save) in pure JavaScript.\n\n**Cesium**\n\n* [Check if an entity is visible](javascript/cesium/entity_is_visible)\n\n### Cesium\n\n## Python\n\n### Computer Vision\n\n**Projects**\n\n* [Find ellipses in the image](python/computer_vision/find_ellipses/find_ellipses.py)\n\n### Machine Learning\n\n**Courses**\n\n* [Udacity deep learning course](python/machine_learning/courses/udacity_deep_learning)\n\n**Utility**\n\n* [TensorFlow Deconvolution network](python/machine_learning/tensorflow/deconv/deconv.py)\n* [TensorFlow image saving](python/machine_learning/tensorflow/image_saving/image_saving.py)\n\n### Statistics\n\n**Projects**\n\n* [For a given data set X, predict its density function](python/statistics/density_function/predict_density_function.py)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugnelis%2Fcode-samples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fugnelis%2Fcode-samples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fugnelis%2Fcode-samples/lists"}