Чашечка Java
رفتن به کانال در Telegram
Лучшие материалы по Java на русском и английском Разместить рекламу: @tproger_sales_bot Правила общения: https://tprg.ru/rules Другие каналы: @tproger_channels
نمایش بیشتر8 282
مشترکین
-124 ساعت
-37 روز
-7130 روز
آرشیو پست ها
8 281
[Solved] How to find the Longest common prefix in Array of String in Java? Example Tutorial
Hello guys, If you are preparing for technical interviews and wondering how to solve the longest common prefix in a given array of String problems in Java then you have come to the right place. Earlier, I have shared 21 String programming problemsand one of them was this one. In this article, I am going to show you how to solve this frequently asked coding problem from Java Interviews. It's one of the difficult coding problems and not every programmer I have interviewed has solved this, only a few can solve this so preparing for this one can definitely improve your chances and give you a competitive edge over other candidates.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/02/how-to-find-longest-common-prefix-in.html
8 281
How to check if a node exists in a binary tree or not in Java? Example Tutorial
Hello guys, if you are wondering how to check if a given node exists in a given binary tree or not then you have come to the right place. I have been sharing a lot of binary tree-based programming interview questions in the past few articles. Earlier, we have solved how to find the maximum sum level in a given binary tree, how to find the lowest common ancestor, and how to find Kth smallest element, and in his article, we will solve another classical binary tree problem of search nodes. Bug, before finding if a node exists in a binary tree or not. It is good to understand what is a binary tree and binary search tree and how to solve a binary tree-based coding problem.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/02/how-to-check-if-node-exists-in-binary-tree-in-java.html
8 281
How to find Kth Smallest Element in a Binary Search Tree? [Solved]
Hello guys, I have been sharing binary search tree-based coding interview questions for quite some time. In the last article, we looked at how to find the maximum sum level in a given binary tree, and in this article, we will find the kth smallest number in a given binary tree like the 5th smallest or 3rd smallest number. Before we find the kth smallest in a Binary search tree, We need to understand the binary search tree. A Binary tree is a data structure in which each node can have at most two children. That is, each node in the binary tree will have data, left child and right child. The first node of the tree is called the Root.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/01/how-to-find-kth-smallest-element-in.html
8 281
How to find the maximum sum level in binary tree in Java? Example Tutorial
Hello guys, if you are preparing for a coding interview and wondering how to find the maximum sum level in a given binary tree in Java then you have come to the right place. I have been sharing binary tree coding problems for the last few months and in the past, we have seen questions like finding kth smallest elementand finding the lowest common ancestor of a binary tree in Java in this article, you will learn how to find the maximum sum level in a given binary tree of integers or numbers. But, before finding the maximum sum level of a binary tree in java, we need to have a good understanding of a binary search tree. Both theoretical knowledge and how to implement binary search tree in Java is important to solve tree-based coding problems.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/01/how-to-find-maximum-sum-level-in-given-binary-tree-java.html
8 281
Difference between Thread.yield and Thread.sleep in Java? Answer
Sleep vs yield in Java
Sleep and yield are two methods that are used to get CPU back from Thread to Thread Scheduler in java but they are completely different than each other. The major difference between Sleep vs yieldis that sleep is more reliable than yield and it's advised to use sleep(1) instead of yield to relinquish CPU in multi-threaded Java applications to give an opportunity to other threads to execute. In this Java tutorial, we will what are the differences between yield and sleep in Java. But before seeing the difference between sleep and Yield let's see some similarities between yield and sleep in Java
Java Interview questions and tutorials
Read: http://www.java67.com/2012/08/difference-between-yield-and-sleep-in.html
8 281
Presentation: State of OpenTelemetry, Where Are We and What’s Next?
Michael Hausenblas discusses what problems OpenTelemetry solves, and overviews the ecosystem and status of various projects within OpenTelemetry.
By Michael Hausenblas
Read: https://www.infoq.com/presentations/opentelemetry/
8 281
JavaScript and Java both loved and hated
Read: https://www.infoworld.com/article/3686132/javascript-and-java-both-loved-and-hated.html#tk.rss_java
8 281
Как я участвовал в создании информационных систем для медицины
В 1987-м году я окончил с красным дипломом приборостроительный факультет челябинского политехнического института по специальности "Автоматика и телемеханика", хотя планировал стать физиком-теоретиком и школу заканчивал в специализированной школе-интернате №18 при МГУ. По распределению попал в специализированное конструкторское бюро и до 1991-го года разрабатывал электронные блоки для бронетанковой техники. До сих пор считаю что полученная при этом инженерная школа является чем-то недостижимым в современных реалиях. В частности, мы с коллегами создали комбинированный аналого-цифровой программируемый комплекс, который в реальном времени проводил расчеты по математической модели объекта, описываемой системой дифференциальных уравнений 4-го порядка с 14-ью нелинейными элементами и принимал решения более 10 тысяч раз в секунду. На современных вычислителях это наверное и можно было бы сделать, но в то время мы решали задачу имея в распоряжении только набор интегральных микросхем, самой крутой из которых была ПЗУ на 2 килобайта и всё наше творчество должно было уместиться в 9 литров объёма и работать в диапазоне температур от -40 до +85.
После того как в 1991-м году страна развалилась я выбрал стезю программирования и с тех пор так или иначе связан с разработкой ПО и построением крупных информационных систем. Начинал с создания комплексного ПО и "умной кассы" для торгового центра, потом была информационная система учёта аренды муниципального имущества. Потом я вернулся в конструкторское бюро на считавшийся безнадёжным проект по созданию комплекса диагностических стендов для автоматизированного поиска неисправностей в электронных блоках в интересах иностранного заказчика. После окончания разработки я возглавлял группу разработчиков, которая сдавала эти стенды заказчику, и мы с этой задачей справились.
Читать: https://habr.com/ru/post/711682/?utm_campaign=711682
8 281
Top 10 Projects You can Build to Learn Spring Boot in 2023
Hello guys, I have always said that there is no better way to learn anything then actually doing it and its 100% true for Spring Boot, one of the popular Framework for Java application Development. In my 20 years of experience, I have found that the best way to learn Java and Spring Boot is building projects. When you build project, common task surface them like creating a List or sorting a List and then you research and learn. Those learning stuck and make you better developer. Building project also have many advantage like it allows you to use a lot of technologies like Git, IntelliJIDEA, Hibernate, APIs etc together to build something which you can showcase to your potential employer.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/10-projects-ideas-to-learn-spring-boot.html
8 281
4 канала общей направленности для программистов:
— «Типичный программист» про разработку в целом: @tproger_official
— «IT Юмор» с мемами: @ithumor
— «Представляешь,» с новостями: @your_tech
— «Книги для программистов»: @devs_books
8 281
Использование SEDA со Spring Integration и Apache Camel
SEDA, или Staged Event-Driven Architecture, представляет собой архитектурный стиль, предложенный Мэттом Уэлшем в его докторской диссертации. диссертация. Его основными преимуществами являются масштабируемость, поддержка высококонкурентного трафика и удобство эксплуатации.
В этом туториале мы будем использовать SEDA для подсчета уникальных слов в предложении с помощью двух разных реализаций: Spring Integration и Apache Camel.
Читать: https://habr.com/ru/post/696978/?utm_campaign=696978
8 281
Apache Druid 25.0 Delivers Multi-Stage Query Engine and Kubernetes Task Management
Apache Druid is a high-performance real-time datastore and its latest release, version 25.0, provides many improvements and enhancements. The main new features are: the multi-stage query (MSQ) task engine used for SQL-based ingestion is now production ready; Kubernetes can be used to launch and manage tasks eliminating the need for middle managers...
By Andrea Messetti
Read: https://www.infoq.com/news/2023/01/druid-analytics-database/
8 281
Spring Cloud 2022.0.0 Delivers Updates to Sub-Projects and JDK 17 Baseline
VMware has released Spring Cloud 2022.0.0, codenamed Kilburn, based upon the recently introduced Spring Framework 6 and Spring Boot 3. Spring Cloud 2022.0.0 is based on Spring Framework 6 requiring Java 17 and is compatible with Jakarta EE 9. This release supports Ahead of Time (AOT) compilation and the creation native images with GraalVM.
By Johan Janssen
Read: https://www.infoq.com/news/2023/01/spring-cloud-2022-0-0/
8 281
Подборка мемов от Tproger — Linux vs Windows, Java vs JavaScript и Новый год
Собрали подборку лучших мемов про IT за первые недели января из наших каналов — IT Юмора в Телеграме и /dev/null в VK.
Читать: «Подборка мемов от Tproger — Linux vs Windows, Java vs JavaScript и Новый год»
8 281
Какой язык программирования выбрать новичку в 2023 году
Мы проанализировали популярность, уровни зарплат и собрали подборку, которая поможет выбрать язык программирования для изучения в 2023 году.
Читать: «Какой язык программирования выбрать новичку в 2023 году»
8 281
Event Sourcing Pattern in Java Microservices with Examples
Hello Java programmers, if you are tired of constantly trying to keep track of your application's state using a traditional relational database? The Event Sourcing pattern might be just what you need. It's also one of the 10 essential Microservice patterns I have shared earlier and its one of the top 3 along with Saga and CQRS patterns which we have seen in my earlier articles. In a nutshell, the Event Sourcing pattern involves storing the complete history of an application's state as a sequence of events. Each event represents a change in the application's state, such as the creation of a new record or the modification of an existing one.
Java Interview questions and tutorials
Read: http://www.java67.com/2023/01/event-sourcing-pattern-in-java.html
8 281
Java 20: огромные разреженные сегменты памяти
Знаете ли вы, что можно выделять сегменты памяти, которые больше, чем физический размер оперативной памяти вашего компьютера, и даже больше, чем размер всей вашей файловой системы? Прочтите эту статью и узнайте, как использовать сопоставленные (mapped) сегменты памяти, которые могут быть или не быть «разреженными», и как выделить 64 терабайта разреженных данных на ноутбуке.
Читать: https://habr.com/ru/post/710664/?utm_campaign=710664
8 281
10 Projects you can build to Learn Java in 2023
Hello guys, from my 20 years of experience as a Java developer, from building games with J2ME to writing server side, multi-threading Java servers, I can say that building project is the best way to learn Javabut you also need to choose the right project because if you choose a trivial project you will not learn anything and at the same time, if you choose a hard project, you will frustrate and not complete it and not learn anything. That's why, its very important to choose the right kind of project when you learning Java. These project will not only complement your learning but also challenge you but not set an impossible task for you. Which means, you will learn and also have fund building them. If you are now looking for best Java Project ideas for beginnersthen you have come to the right place.
Java Interview questions and tutorials
Read: http://www.java67.com/2022/12/10-projects-you-can-build-to-learn-java.html
8 281
Делаем дашборды для Grafana из того, что отдает экспортер метрик Prometheus
Столкнувшись с необходимостью сделать новый дашборд в Grafana под много новых метрик (а не добавить, так как готовый из галереи не находится), я сделал небольшое веб-приложение, которое сконвертирует "портянку" с данными метрик в простенький, но доходчивый дашборд со всеми необходимыми метриками.
В статье описание работы конвертора и рассказ о некоторых хитростях в настройке мониторинга Apache Spark и Hadoop.
Укыйбызмы?
Читать: https://habr.com/ru/post/711280/?utm_campaign=711280
8 281
Making IntelliJ Work for the Dev: The Insights Exposed by the New Book Written by Gee and Scott
Professional developers spend most of their productive time writing code in an IDE Getting to Know IntelliJ IDEA - is the new book that promises to teach you how to make your IDE work for you. In return, amplifying their productivity. In order to extract its gist, InfoQ reached out to the authors - both former developer advocates at JetBrains with a couple of questions.
By Olimpiu Pop
Read: https://www.infoq.com/news/2023/01/know-intellij-book/
