Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 16869

This tag is for questions that came up in an interview.

2 votes

Reverse each word of a string in C

I also met this question during a interview several years before, the string was null-terminated and separated by spaces. my idea was same as yours, just save some lines of code, comments in line. // …
zdd's user avatar
  • 227
8 votes

Reversing a linked list

If you don't care about the origin list, we can use the head of it as the iterator, You should return the new head after reverse, or the new list will lost. #include <stdio.h> struct Node { int …
zdd's user avatar
  • 227