# programming

**URL:** https://forum.kirupa.com/c/programming/41.md?page=23

[Latest](https://forum.kirupa.com/latest.md) · [Categories](https://forum.kirupa.com/categories.md)

**Page:** 24

---

## [Errata: Data Structures and Algorithms Book!](https://forum.kirupa.com/t/errata-data-structures-and-algorithms-book/663668)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 13\
**Last updated:** [March 13, 2025, 3:27pm UTC](https://forum.kirupa.com/t/errata-data-structures-and-algorithms-book/663668 "2025-03-13T15:27:57Z")

</div>

This post will list all of the corrections or clarifications that have been found in the 1st edition of the Absolute Beginner’s Guide: Data Structures and Algorithms book! :slight\_smile: Iterative Binary Search has an…

---

## [What are the programming languages used to create this amazing website](https://forum.kirupa.com/t/what-are-the-programming-languages-used-to-create-this-amazing-website/670309)

<div class="topic-metadata">

**Author:** [@Hadil](https://forum.kirupa.com/u/Hadil)\
**Replies:** 3\
**Last updated:** [February 25, 2025, 7:50pm UTC](https://forum.kirupa.com/t/what-are-the-programming-languages-used-to-create-this-amazing-website/670309 "2025-02-25T19:50:19Z")

</div>

Hello! Please, I wanna know what are the programming languages used to create the frontend of this website. It looks so cool :heart\_eyes: :smiling\_face\_with\_three\_hearts:

---

## [Infinite scroll for wheel pickers](https://forum.kirupa.com/t/infinite-scroll-for-wheel-pickers/672626)

<div class="topic-metadata">

**Author:** [@gunhan](https://forum.kirupa.com/u/gunhan)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 11:21pm UTC](https://forum.kirupa.com/t/infinite-scroll-for-wheel-pickers/672626 "2025-02-12T23:21:23Z")

</div>

Hey, i am trying to make clone of ios wheel date-time picker with js and tailwind. You can see the my goal design on uber app, if you tap on ‘now’ button on ride request screen you will see it, or here is a gif: What …

---

## [Ideas for more advanced canvas topics?](https://forum.kirupa.com/t/ideas-for-more-advanced-canvas-topics/672263)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 5\
**Last updated:** [February 12, 2025, 11:37am UTC](https://forum.kirupa.com/t/ideas-for-more-advanced-canvas-topics/672263 "2025-02-12T11:37:31Z")

</div>

Hi everybody - I’ve started a new series of tutorials that cover more advanced topics revolving around how to work with the Canvas by continuously improving how we can draw and display a grid! The current list of tutori…

---

## [Advanced Glitch Image Effect (with Sound!)](https://forum.kirupa.com/t/advanced-glitch-image-effect-with-sound/672910)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 26, 2025, 5:11am UTC](https://forum.kirupa.com/t/advanced-glitch-image-effect-with-sound/672910 "2025-01-26T05:11:02Z")

</div>

Hi everybody - I have a new coding exercise that was a boatload of fun to create! It is an image glitch effect that involves a lot of pixel manipulation on the Canvas :stuck\_out\_tongue: Click play below to see the effec…

---

## [Tips for study javascript](https://forum.kirupa.com/t/tips-for-study-javascript/672712)

<div class="topic-metadata">

**Author:** [@corfaction](https://forum.kirupa.com/u/corfaction)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 4:07am UTC](https://forum.kirupa.com/t/tips-for-study-javascript/672712 "2025-01-18T04:07:50Z")

</div>

hello everybody, I recently learned html, css and decided to start learning javascript from the kirupa book Can you give me study tips or ideas for future projects?

---

## [Yes, Math.pow() is slower than straight-up mulitplication! 😱](https://forum.kirupa.com/t/yes-math-pow-is-slower-than-straight-up-mulitplication/672465)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 0\
**Last updated:** [January 4, 2025, 11:10pm UTC](https://forum.kirupa.com/t/yes-math-pow-is-slower-than-straight-up-mulitplication/672465 "2025-01-04T23:10:16Z")

</div>

If you happened to be in the middle of watching The Hobbit: The Desolation of Smaug and were suddenly shaken by the unmistakable urge to figure out if Math.pow() is faster than just multiplying the values together, here …

---

## [Speed running programming!](https://forum.kirupa.com/t/speed-running-programming/672149)

<div class="topic-metadata">

**Author:** [@isha](https://forum.kirupa.com/u/isha)\
**Replies:** 4\
**Last updated:** [January 2, 2025, 10:54am UTC](https://forum.kirupa.com/t/speed-running-programming/672149 "2025-01-02T10:54:28Z")

</div>

I am Isha, and hellbent on becoming a programmer. What made me so was reading about recursion in eloquent.js and being able to reason through and design functions for problems on my own. Discovering how the screen i see …

---

## [I've been writing Code for about 20 years and one of my very first posts about it was here](https://forum.kirupa.com/t/ive-been-writing-code-for-about-20-years-and-one-of-my-very-first-posts-about-it-was-here/672215)

<div class="topic-metadata">

**Author:** [@MorphicPro](https://forum.kirupa.com/u/MorphicPro)\
**Replies:** 3\
**Last updated:** [December 25, 2024, 4:18pm UTC](https://forum.kirupa.com/t/ive-been-writing-code-for-about-20-years-and-one-of-my-very-first-posts-about-it-was-here/672215 "2024-12-25T16:18:10Z")

</div>

Title says it all. Man time flys. Also finding this this little nugget :pinched\_fingers: I don’t know really why yet but for some reason I don’t really like xml It’s truly humbling to be able to come back after all t…

---

## [I want to finish programming fast because I also want to learn data analysis. Is there a way to combine these two?](https://forum.kirupa.com/t/i-want-to-finish-programming-fast-because-i-also-want-to-learn-data-analysis-is-there-a-way-to-combine-these-two/670203)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 6\
**Last updated:** [December 18, 2024, 7:46am UTC](https://forum.kirupa.com/t/i-want-to-finish-programming-fast-because-i-also-want-to-learn-data-analysis-is-there-a-way-to-combine-these-two/670203 "2024-12-18T07:46:11Z")

</div>

I have been solving daniel liang’s java textbook exercises for about 6 months. I am quarter way through the book(Which is really fast as in the past I never thought that I could read a book I used to ask questions like …

---

## [Where can I find true book of robert sedgewick algortihms in amazon india?](https://forum.kirupa.com/t/where-can-i-find-true-book-of-robert-sedgewick-algortihms-in-amazon-india/671224)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 1\
**Last updated:** [November 28, 2024, 5:54pm UTC](https://forum.kirupa.com/t/where-can-i-find-true-book-of-robert-sedgewick-algortihms-in-amazon-india/671224 "2024-11-28T17:54:21Z")

</div>

I tried searching entire amazon.in however I didn’t exactly find this book trusted copy for reasonable price. (\<3000 INR)…

---

## [Find four consecutive same numbers diagonal wise, row wise and column wise?](https://forum.kirupa.com/t/find-four-consecutive-same-numbers-diagonal-wise-row-wise-and-column-wise/671142)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 5\
**Last updated:** [November 20, 2024, 1:56am UTC](https://forum.kirupa.com/t/find-four-consecutive-same-numbers-diagonal-wise-row-wise-and-column-wise/671142 "2024-11-20T01:56:53Z")

</div>

I had earlier written method for such a case in 1d array public static boolean isConsecutiveFour(int\[\] values) { int currentNumber; int prevNumber = values\[0\]; int count = 1; for (int …

---

## [Financial tsunami java program](https://forum.kirupa.com/t/financial-tsunami-java-program/670993)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 3\
**Last updated:** [November 16, 2024, 5:51pm UTC](https://forum.kirupa.com/t/financial-tsunami-java-program/670993 "2024-11-16T17:51:14Z")

</div>

this is the program that i am attempting to write. and it says that bank 1 is unsafe which i don’t quite get. because bank 1’s total assets are 125=its own 85=it lent to bank3 40=it lent to bank2 i wonder if a…

---

## [I want to learn OOPs(JAVA) as Fast as Possible](https://forum.kirupa.com/t/i-want-to-learn-oops-java-as-fast-as-possible/671073)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 3\
**Last updated:** [November 16, 2024, 5:50pm UTC](https://forum.kirupa.com/t/i-want-to-learn-oops-java-as-fast-as-possible/671073 "2024-11-16T17:50:16Z")

</div>

I spent last 6 months solving each and every exercises from the book by daneil liang comprehensive java. I’ve completed all these chapters: selections mathematical functions, characters and strings loops methods single…

---

## [Can anyone guide me to make a tic-tac-toe in java without showing too much code?](https://forum.kirupa.com/t/can-anyone-guide-me-to-make-a-tic-tac-toe-in-java-without-showing-too-much-code/670796)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 2\
**Last updated:** [November 7, 2024, 6:45pm UTC](https://forum.kirupa.com/t/can-anyone-guide-me-to-make-a-tic-tac-toe-in-java-without-showing-too-much-code/670796 "2024-11-07T18:45:49Z")

</div>

Just a function call I mean. For example: initializeBoard(); player1turn(); printBoard() My confusin is with function parameters what should I keep to make it work. That’s why. The design of program is an issue for me,…

---

## [Display board with user input](https://forum.kirupa.com/t/display-board-with-user-input/670751)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 4\
**Last updated:** [November 5, 2024, 9:11am UTC](https://forum.kirupa.com/t/display-board-with-user-input/670751 "2024-11-05T09:11:16Z")

</div>

\--------- | | | --------- | | | --------- | | | --------- So far, I’ve created a board like this using this code. public static void printEmptyBoard(int row, int col) { for (int i = 0; i \< row; i++) { …

---

## [Disable auto delete of local storage](https://forum.kirupa.com/t/disable-auto-delete-of-local-storage/664927)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 11\
**Last updated:** [October 23, 2024, 9:50am UTC](https://forum.kirupa.com/t/disable-auto-delete-of-local-storage/664927 "2024-10-23T09:50:01Z")

</div>

I like to create PWAs with local storage. I don’t want the browser to auto delete the local storage. Even indexedDB gets deleted after seven days of inactivity! I wished PWA got the same treatment as local apps on a m…

---

## [Track or save previous index after sorting an array?](https://forum.kirupa.com/t/track-or-save-previous-index-after-sorting-an-array/670353)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 7\
**Last updated:** [October 23, 2024, 4:16pm UTC](https://forum.kirupa.com/t/track-or-save-previous-index-after-sorting-an-array/670353 "2024-10-23T16:16:30Z")

</div>

My research: https://www.baeldung.com/java-indices-array-after-sorting I’m using Java and not using any advanced concepts so far. What is the easiest way to do this?

---

## [How to check if each 3x3 subgrids of sudoku has a valid solution?](https://forum.kirupa.com/t/how-to-check-if-each-3x3-subgrids-of-sudoku-has-a-valid-solution/670244)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 3:14am UTC](https://forum.kirupa.com/t/how-to-check-if-each-3x3-subgrids-of-sudoku-has-a-valid-solution/670244 "2024-10-17T03:14:12Z")

</div>

import java.util.\*; public class Example { public static void main(String\[\] args) { int\[\]\[\] solution = { {9, 6, 3, 1, 7, 4, 2, 5, 8}, {1, 7, 8, 3, 2, 5, 6, 4, 9}, …

---

## [Help with my web application](https://forum.kirupa.com/t/help-with-my-web-application/669837)

<div class="topic-metadata">

**Author:** [@Towla](https://forum.kirupa.com/u/Towla)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 12:00pm UTC](https://forum.kirupa.com/t/help-with-my-web-application/669837 "2024-10-16T12:00:27Z")

</div>

Week 5 Web INT304 Final Project. App.js code: // App.js import React from ‘react’; import { BrowserRouter as Router, Route, Link, Routes } from ‘react-router-dom’; import { Provider } from ‘react-redux’; import sto…

---

## [Brute forcing closest pair of points?](https://forum.kirupa.com/t/brute-forcing-closest-pair-of-points/670192)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 3\
**Last updated:** [October 15, 2024, 2:27am UTC](https://forum.kirupa.com/t/brute-forcing-closest-pair-of-points/670192 "2024-10-15T02:27:56Z")

</div>

What is n, i and k here?

---

## [Real-time bulk e-mails](https://forum.kirupa.com/t/real-time-bulk-e-mails/288090)

<div class="topic-metadata">

**Author:** [@therafiman](https://forum.kirupa.com/u/therafiman)\
**Replies:** 1\
**Last updated:** [September 3, 2024, 5:03am UTC](https://forum.kirupa.com/t/real-time-bulk-e-mails/288090 "2024-09-03T05:03:04Z")

</div>

I am working on a website (hosted by GoDaddy) where the core of its functionality relies on time-critical e-mails being sent out to large numbers of subscribers (starting at thousands, planning for expansion beyond that)…

---

## [Seeking Advice on Learning JavaScript for Web Development](https://forum.kirupa.com/t/seeking-advice-on-learning-javascript-for-web-development/667919)

<div class="topic-metadata">

**Author:** [@NAVAA](https://forum.kirupa.com/u/NAVAA)\
**Replies:** 4\
**Last updated:** [August 28, 2024, 5:07pm UTC](https://forum.kirupa.com/t/seeking-advice-on-learning-javascript-for-web-development/667919 "2024-08-28T17:07:45Z")

</div>

I’m new to the Kirupa forums and relatively new to web development. I’ve been focusing on learning JavaScript, and I’m looking for some advice and guidance from the experienced members here. My Current Situation: HTML &…

---

## [How to hide URL](https://forum.kirupa.com/t/how-to-hide-url/669208)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 6\
**Last updated:** [August 28, 2024, 5:11pm UTC](https://forum.kirupa.com/t/how-to-hide-url/669208 "2024-08-28T17:11:47Z")

</div>

Hello, I run a media site where the majority of the content consists of images served via a paid CDN. Recently, I discovered that I can serve my images for free using JS Delivr. However, I’m concerned that my competitor…

---

## [Change SVG path color on hover](https://forum.kirupa.com/t/change-svg-path-color-on-hover/662363)

<div class="topic-metadata">

**Author:** [@Helena\_G](https://forum.kirupa.com/u/Helena_G)\
**Replies:** 6\
**Last updated:** [August 23, 2024, 8:36am UTC](https://forum.kirupa.com/t/change-svg-path-color-on-hover/662363 "2024-08-23T08:36:08Z")

</div>

Hi Kirupa members, Could you please help. Is it possible to change on hover this black color inside the icon with CSS ? I can change the black color inside the path. But it doesn’t work for hover effect. \<!DOCTYPE ht…

---

## [All About Bubblesort](https://forum.kirupa.com/t/all-about-bubblesort/429433)

<div class="topic-metadata">

**Author:** [@kirupa](https://forum.kirupa.com/u/kirupa)\
**Replies:** 5\
**Last updated:** [August 14, 2024, 4:36am UTC](https://forum.kirupa.com/t/all-about-bubblesort/429433 "2024-08-14T04:36:13Z")

</div>

This is a companion discussion topic for the original entry at http://www.kirupa.com/sorts/bubblesort.htm

---

## [Getting tired of Machine Learning](https://forum.kirupa.com/t/getting-tired-of-machine-learning/668925)

<div class="topic-metadata">

**Author:** [@Wayne](https://forum.kirupa.com/u/Wayne)\
**Replies:** 3\
**Last updated:** [August 14, 2024, 4:22am UTC](https://forum.kirupa.com/t/getting-tired-of-machine-learning/668925 "2024-08-14T04:22:02Z")

</div>

I have been learning machine learning for 9 years from scratch. Finally now they want to use it at work but there are plenty of legal paper work and such that makes the whole process very challenging. Especially after t…

---

## [Class is now in session. kinda!](https://forum.kirupa.com/t/class-is-now-in-session-kinda/668560)

<div class="topic-metadata">

**Author:** [@MrProNovice](https://forum.kirupa.com/u/MrProNovice)\
**Replies:** 5\
**Last updated:** [July 31, 2024, 2:37am UTC](https://forum.kirupa.com/t/class-is-now-in-session-kinda/668560 "2024-07-31T02:37:54Z")

</div>

First off, thanks a lot for your easy to follow along Beginner Javascript Guide (3rd Edition). It helped me understand the language a bit better. I have a question about classes. I’m attempting to write a blackjack game …

---

## [Why is this java code producing wrong results?](https://forum.kirupa.com/t/why-is-this-java-code-producing-wrong-results/668195)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 2\
**Last updated:** [July 26, 2024, 8:36pm UTC](https://forum.kirupa.com/t/why-is-this-java-code-producing-wrong-results/668195 "2024-07-26T20:36:42Z")

</div>

... if (filingStatus == 0) { //compute tax for single if (taxableIncome \<= 8350) { tax = taxableIncome \* 10 / 100; } else if (taxableIncome \<= 33950) { …

---

## [Taking time zone offset as input and convert to real time given GMT time](https://forum.kirupa.com/t/taking-time-zone-offset-as-input-and-convert-to-real-time-given-gmt-time/668048)

<div class="topic-metadata">

**Author:** [@oslon](https://forum.kirupa.com/u/oslon)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 2:14am UTC](https://forum.kirupa.com/t/taking-time-zone-offset-as-input-and-convert-to-real-time-given-gmt-time/668048 "2024-07-08T02:14:02Z")

</div>

Say GMT time is given to us and we want to convert the time zone offset as input and convert to real time. The problem is as easy as it can be, but I am stuck on parsing the input. this is from a first chapters of danie…

[Previous page](https://forum.kirupa.com/c/programming/41.md?page=22)

[Next page](https://forum.kirupa.com/c/programming/41.md?page=24)
