TransWikia.com
  1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers (Page 10)

Find answers to your questions about Code Review or help others by answering their Code Review questions.

LeetCode 1453: Maximum Number of Darts Inside of a Circular Dartboard

I'm posting my code for a LeetCode problem. If you'd like to review, please do so. Thank you for your time!ProblemYou have a very large square wall and a circular...

Asked on 11/13/2021

1 answer

Automating a set a of weekly reports, including graphs and delivery of reports

I have been writing code to automate some weekly reports. I had help over on Stack Overflow. I have code that works for the most part, however there are...

Asked on 11/11/2021 by Moo10000

1 answer

A VBA Product Dictionary with a Collection of Product Services

I need to extract unique Product Group names along with its corresponding services from a table in a worksheet. The table is generated by a bot and is not filtered,...

Asked on 11/11/2021

2 answer

Converting a float to a fraction as a string

I was inspired by this video by Matt Parker to use the Farey Sequence to convert a float into a string representation of a...

Asked on 11/11/2021 by stonkilla4

1 answer

C# consecutive and redundant null checks

I am working on a C# application and I want to support multiple themes, so I wrote a ThemeManager class that can check, load and apply a specific theme. A...

Asked on 11/11/2021 by Frederik Hoeft

6 answer

Format string processing similar to date or printf()

I wrote a function that is supposed to take a format string similar to what date accepts and replace all format specifiers with strings provided by a callback function.Format specifiers...

Asked on 11/11/2021 by domsson

2 answer

Improvement to Luhn-Checksum Algorithm in Java

I just made a small Luhn Checksum validatorDescription of Luhn Checksum Every number in the Integer gets added individually together, but every second digit gets instead...

Asked on 11/11/2021 by elauser

2 answer

Full Adder in Verilog

I'll be teaching Computer Architecture at the undergraduate level this fall and want to make sure that my example Verilog code follows best practices. I welcome any suggestions, however minor,...

Asked on 11/08/2021

1 answer

Python REST API and Mongo - Aggregation Pipeline/Stage classes

This has been my approach for "simplifying" MongoDB aggregation queries in a pythonic syntax - was my intent, at the very least:from datetime import datetime, timedeltaclass MatchStage(list): ...

Asked on 11/08/2021 by Rfroes87

1 answer

Python palindrome checker function

For practice purposes I implemented a function that checks for palindromes:def palindrom(name): name_reversed = "" for buchstabe in name[::-1]: ...

Asked on 11/08/2021 by dicomp

4 answer

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP