The methodology tag has no wiki summary.
3
votes
2answers
166 views
Change View visibility programmatically or through XML?
I have an XML layout used by 2 activities. Within this layout, there's a view that is visible for Activity1 and gone for Activity2. Activity1 is used more times compared to Activity2. I would like to ...
2
votes
3answers
245 views
{Sum+=i++} to Reach N ( Code Optimization )
I am developing code for a problem posted on StackOverflow.
I have written my solution in Java but it is taking too much time to execute for numbers such as 21432154197846387216432. How could I ...
1
vote
2answers
172 views
C code to entab a string. Exercise 1-21 from K&R C
I am trying to finish the K&R book on C. Below is an exercise which took a long time to finish. I would like some feedback on optimization or any blatant issues with the code.
Exercise 1-21 ...
3
votes
2answers
463 views
Seeking Code Review Comments (Design,Performance etc ) based on the problem statement
Write a CashWithDrawal function from an ATM which based on user specified amount dispenses bank notes. Ensure that the following is taken care of
Minimum number of bank notes are dispensed
...
1
vote
3answers
323 views
Better logic to factorial [closed]
Good day!
I am wrote a code (pseudo) to determine the factorial of a number as follows:
INPUT integer
WHILE (integer < 0)
PRINT “Please enter a positive integer”
INPUT integer
...
17
votes
6answers
643 views
Solution to facilitate code reviews [closed]
What solution do you use to facilitate code reviews in your organization?
We/I use Code Collaborator from Smart Bear at my day job. It is privately hosted on our domain with LDAP authentication.