TransWikia.com
  1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers (Page 14)

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

Print a right-justified list of a list

I'm working through Chapter 6 in "Automate the Boring Stuff, 2nd Edition." Here is the chapter project at the end. Write a function named printTable() that takes a list of...

Asked on 10/27/2021 by Phillip C

2 answer

Bitarr class optimization C++

I have implemented a bitarr class that does bit manipulations. I would love to know if there is any way to make the code more optimized. Any input would be...

Asked on 10/27/2021 by starrk

1 answer

Simple neural network in c++

I have implemented a neural network in C++. But I'm not sure whether my implementation is correct or not. My code of the implementation of neural networks given bellow.As...

Asked on 10/27/2021 by Sharif Hasan

1 answer

Java - Functional interface for merging two lists

Hello dear colleagues. As an exercise for Java streams, I've written simple program, which scrapes links to references from a news portal. Basically, I wanted to find out, which portals...

Asked on 10/27/2021 by Another Noob

1 answer

C: Sieve of Eratosthenes and next twin prime

I am wondering if I can get some feedback for my implementation of "Sieve of Eratosthenes" and twin prime. I followed this pseudocode. Few notes:I added MAX(primes.size...

Asked on 10/27/2021

1 answer

Implementing a very simple memory block for quick allocation and memory alignment. C++

This is programmed in Visual Studio 2019 with the C++17 feature set. The intent with this code is to be able to create memory blocks of the specified alignment and size, so...

Asked on 10/27/2021 by Matias Chara

1 answer

LinDB: A dictionary type database

As an exercise, I've decided to write a lightweight, dictionary type database. Below are some of the features I've implemented:Overwrite Inserting: I allow the user to determine if they want...

Asked on 10/27/2021

1 answer

Vampiric text-based adventure game

Here is my vampire based text adventure game.I recently started learning Python and Googled for some good projects to practice with. I wrote all this code myself after checking...

Asked on 10/27/2021

1 answer

String matching

I recently came across a lecture on DFA. I tried to use it to determine whether a given 'search string' is found in the 'input string'. Please tell me if...

Asked on 10/27/2021 by Rajesh Bhat

0 answer

Character-based transitions (part of a lexer)

As part of my prep for the Code Review community-challenge (which looks like it will be Write your own programming language), I've been...

Asked on 10/27/2021 by CAD97

0 answer

Ask a Question

Get help from others!

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