This page is a NO-INDEX summary of comments posted in this blog.

Total 849 Comments (6/34 Pages) - Newer Comments - Older Comments

126. 2020-12-01 18:16:46 ACMer Comments on Comparing Left and Right Branch of a Complete Binary Tree:

Thank you. Yes, recursion is like a double-edged sword.


127. 2020-12-01 17:47:19 dan Comments on Comparing Left and Right Branch of a Complete Binary Tree:
Nice solution. Recursion usually scares the pants of me but this is a nice example. I see how you are using the size of the array to limit the level of recursion. I would personally separate out the sum function. I also wonder if it might be better to pass index -1 to the sum function rather that repeating which could make it a little easier to read. But then I see if you changed this you would have to add 1 to transform back from a binary Tree index as opposed to an Array Index.


128. 2020-11-23 19:28:49 Yanick Rochon Comments on The Javascript Function to Check Any Two Sets Are the Same:
Thank you for these snippets. Though added JSPerf would make these examples more relevant and objective.


129. 2020-11-22 05:59:18 Tom Comments on Script32: A Freeware to Convert VBScript/JScript/HTA to Executables:
For [ScriptControl] Mode, the source code of VBS/JS are _NOT_ extracted to hard disk at all.... Where does the file get extracted to if i run the exe in regular mode? to some temp folder? what if i want to hide the sourcecode but don't want to use a lot of memory? regards


130. 2020-11-21 17:14:58 ACMer Comments on Valid Anagram String Check Algorithms using Hash Table:
Actually, it won't work for test cases like this: "aa" "bb"


131. 2020-11-18 18:24:42 Austein Comments on Send Emails using Crontab for Your Web Applications:
would you also convert the tutorial to pdo please or give me tips on how I can describe myself php 7 and pdo


132. 2020-11-09 11:45:35 Harrison Comments on NUC: All-In-One Raspberry PI 400 Kit - Personal Computer Kit with Raspbian OS:
A wonderful gadget, thank you for the information.


133. 2020-10-26 14:09:31 Sumit Chhabra Comments on SQL Algorithm to Compute Shortest Distance in a Plane:
I guess there is a typo in the fourth Block of code--> "pow(a.y - b.y,2))), 2) " what is the purpose of using 2 before closing the bracket ?


134. 2020-10-22 09:26:56 thierrybo Comments on How to Disable [Power, Sleep, Wakeup] Buttons at Keyboard on Windows?:
Or he can be very useful. II use the power button since more than 15 years to power off my computer. It is the reason why I keep my old keyboard because nowadays i can't find any new one with these keys


135. 2020-08-30 13:47:11 Rosalinda Comments on How to Write Chrome Bookmark Scripts? - Step by Step Tutorial with a SteemIt Example:
Very useful post - instead of using JavaScript. You can upload raw files that are publicly available. Just Go...


136. 2020-07-15 12:17:19 mamta Comments on Tips For Keeping Your VPS Flawless:
Thanks for your knowledge, you may visit in online server once


137. 2020-07-08 16:47:16 ACMer Comments on Algorithms to Find the Three Numbers in Array that Sum up to Zero (3Sum):
Thanks, you are right. Good catch!


138. 2020-07-08 16:44:40 Alberto Comments on Algorithms to Find the Three Numbers in Array that Sum up to Zero (3Sum):
In the second and first approach you don't need an unordered_set. Since the elements are sorted, you can simply check the previous element and if it is repeated continue. Exactly as you did with nums[i].


139. 2020-06-30 18:38:58 Claire Valant Comments on Comparing Left and Right Branch of a Complete Binary Tree:
correction: I meant to say the values it assigns to the null node are 8 & 1*** I'll add that the algorithm in the original post accounts for this by stopping the subtree calculation when it hits a null node (-1). By excluding the 8 & 1, the left count is 26, making the right branch greater with a count of 28.


140. 2020-06-30 18:32:55 Claire Valant Comments on Comparing Left and Right Branch of a Complete Binary Tree:
hey Trevor! I've drawn out the tree you describe with the array [3, 6, 2, 9, -1, 10, 11, 4, 7, 8, 1, 5, 0, 0, 0] but it isn't possible! Nonexistant nodes, represented with a -1, cannot have child nodes. Your array assigns values (7 and 8) to a nonexistant node (-1). I assume from the example given on Hired that all nonexistant nodes, including their child nodes, are to be represented by a -1.


141. 2020-06-08 21:52:52 Joachim Comments on How to Add Adsense Ads to bbPress Forum?:
You might take a look into the options of Advanced Ads Pro. The plugin offers dedicated options for the auto-integration of ads into different types of forums pages and positions.


142. 2020-04-28 17:53:19 ACMer Comments on How to Kill Multiple Processes (Tasks) by Name using VBScript?:
This is difficult and I am not aware of any methods to accomplish this.


143. 2020-04-28 16:45:09 Diwakar Sharma Comments on How to Kill Multiple Processes (Tasks) by Name using VBScript?:
Hi is there any way to kill specific chrome tab by its name as on task manager its showing all the process under as Chrome.exe only ,


144. 2020-04-28 00:23:51 Eyüp Fidan Comments on The Selection Sorting Algorithm in VBScript:
Thank you for article


145. 2020-04-15 22:15:08 dankred2 Comments on Avoid Javascript whenever possible:
This post was written at Jun 12 2012. It IS outdated, and now every modern browsers have Javascript as an default language. This is not a problem unless people don't upgrade their browser and always use internet explorer 9 or something..


146. 2020-04-10 21:12:54 Greg Comments on How to Use Array in Windows Batch Programming?:
Don't know if you're still around, but man, do I have questions related to this if you're up for it. I'm working on tool, and I seem to have broken off WAY more than I can chew with the batch scripting. I'm sure there's a better way than what I'm trying to do, but I'd love to hear from someone who clearly has a better understanding than me about how to do this. Thanks!


147. 2020-04-01 18:43:10 KBC Comments on Quick R Tutorial - How to Plot Sigmoid Function using R?:
Thanks--the right code snippet at the right time!


148. 2020-03-26 21:05:05 ACMer Comments on The enumerate method in Magik Programming:
Hi, I think the Magik compiler is not open source, and you need to contact the GE Smallworld Sales team for a trial.


149. 2020-03-26 21:04:32 ACMer Comments on Greedy Algorithm to Compute the Largest Number:
No, after custom sorting, the array is 44, 443, 424. because "443+424" is bigger than "424+443"


150. 2020-03-24 06:49:47 Abhinav Comments on Greedy Algorithm to Compute the Largest Number:
What if we have 44, 424 and 443. We would get 44424443 instead of 44443424


Newer Comments - Older Comments

–EOF (The Ultimate Computing & Technology Blog) —

46 words

The Permanent URL is: List of Comments