We've just fixed this. Make sure you click on the reload icon above the code editor to reset to the default code definition, and try submit again. Also, Run Code is now available.
Group Details Private
RE: Company page - Sorting logic gives random results every time table is sorted
@wavy Hi, we do not support sorting by difficulty and problem number.
The question list page has a more predictable sorting behavior.
For example, if you go to: https://leetcode.com/problemset/all/?companySlugs=facebook, then click on "Difficulty" column to sort by difficulty, it will first sort by Difficulty column, then by Acceptance column. This is because Acceptance is kind of related to Difficulty, and if a user wants to sort by easiest questions first, they probably are looking to see it in the order of the highest acceptance rate first.
Not sure if this helps you, please let me know if you think of a better way. Thanks!
RE: Print out an imutable singly linked list in reverse in linear time (O(n)) and less than linear space (space<(O(n))
@StefanPochmann No, this is not true. We still want to add more interesting problems like this that are not suited well for contests.
Let's work together to publish this problem, shall we? :)
RE: strange thing !! I get the right output however the output of leetcode is wrong,does anybody help to find out why?Thanks!
if (key == head_node.string)
In Java you should do string comparison using the
.equals()method, otherwise the behavior is unexpected and could be different in other environments.
Try this and see if it works.
RE: This problem is found on another Online Judge
Truly sorry for that,
We didn't expect this problem to be found on the another OJ, and also we didn't expect someone to just copy other people's solutions for the contest - That's not the meaning for the contest - we expect the users using our contest for practicing the interviews or algorithm.
Also, our contest will run anti-cheating system after the contest ended - so if someone cheats, we will find it and give him some punishment to ensure the fairness of the contest.
Have a nice weekend.
LeetCode Contest Team.
RE: This name is very miss leading
Truly sorry for that and thanks for your suggestions.
We've corrected this point.
If you have any other questions about this problem, let me know.
Have a nice weekend. : )