Top new questions this week:
|
Is there a better way to check whether a number is a power of 10? This is what I've implemented:
public class PowersOfTen {
public static boolean isPowerOfTen(long input) {
if ...
|
I have solved problem 185 on CodeEval, Glue Shredded Pieces.
The solution got a 100% score on all tests (edit: see comments), within the allotted time and memory constraints. I'm looking mostly ...
|
Next release of Rubberduck will introduce a very cool @Folder annotation system that the Code Explorer will use to organize modules into - you guessed it - folders:
...which is tremendously ...
|
Write a method named hasMidpoint that accepts three integers as parameters and returns true if one of the integers is the midpoint between the other two integers; that is, if one integer is exactly ...
|
Please review my implementation of the Minesweeper game Kata. Any and all feedback will be much appreciated. I would love to hear your feedback on readability, simplicity, performance, and any code ...
|
One of the things that's straight-forward in JavaScript is Unicode support. If you want to return ϝ (lowercase digamma, not a simple f), you simply tell it to do so. No look-up, conversion or ...
|
This:
Is a data table we get from our financial platform with lots of useful information. For reference, "--" is also the string they use to denote empty values.
This:
Is a spreadsheet I built ...
|
Greatest hits from previous weeks:
|
I have to reverse the string "He is the one" to "one the is He". I have written some programs in Java but am looking for other best solutions. Suggest any possible ways to minimize the current ...
|
I'd like this code to be improved.
package com.array.demo;
import java.util.Arrays;
public class ArraysDemo {
public static void main(String[] args) {
// TODO Auto-generated method stub
...
|
Can you answer these?
|
I need to delete all the orphaned SIDs in the ACLs of about 20 shares (between 100GB/6TB) and change full control of users groups to other permissions (modify or read/execute). I have done this script ...
|
I have created this directive in Angular. The idea is to calculate width of height and height of specific element via style function attached to ng-style on the same element.
The directive uses ...
|
I am trying to create a basic angular template where all files are sorted into a modular structure and referenced using the browserify require method.
I am very new to browserify and the ...
|