|DEF Type 1 / DEF Type 2 \ ATK Type | |
|
|
|
|
|
|
|
|
|
|
|
|
|
| :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _get_json_iterator(json): | |
if isinstance(json, dict): | |
return json.keys() | |
elif isinstance(json, list): | |
return range(len(json)) | |
else: | |
raise Exception() | |
def is_json_equal(json_a, json_b): | |
if json_a is json_b: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Linq; | |
using System.Collections.Generic; | |
namespace Combinatoric.Enumeration | |
{ | |
public static class CombinatoricEnumeration | |
{ | |
// https://docs.python.org/2/library/itertools.html#itertools.combinations | |
public static IEnumerable<List<T>> Combinations<T>(this IEnumerable<T> items, int r) | |
{ |
NewerOlder