Tagged Questions
1
vote
1answer
87 views
Create palindrome by rearranging letters of a word
Inspired by a recent question that caught my interest, I wrote a function in Python 3.3 to rearrange the letters of a given string to create a (any!) palindrome:
Count the occurrences of each letter ...
3
votes
1answer
297 views
Please critique code for inserting into linked list..
I know that this is very very basic, but now I am starting from group up after getting frustrated with my coding practices and knowledge of standard idioms out there and elegant way of coding corner ...
3
votes
1answer
368 views
Using bucket sort to rank students based on their marks..
Problem: n students have marks and names. Rank students based on their marks and print their names.
#include <stdio.h>
#include <assert.h>
struct student
{
int marks;
char ...